Hyperlink Query

I have designed my web pages into major and minor pages to keep all topics organized.

The major pages being the ‘parents’ of the minor pages. For instance, Power Tools (major page), contains the table saw, drill press, etc., all of which are the minor pages of Power Tools. To be clear, all of my ‘parent’ webpages are in a ‘major’ folder and all of the ‘children’ webpages are in the ‘minor’ folder. Within the ‘minor’ folder are other folders and so on.

While all of this works just fine, I do not like to see my hyperlink showing the ‘…/major/power-tools…’ as seen http://www.wwbydesign.com/major/power-tools.php, or ‘…/minor/joinery/dovetails…’ as seen http://www.wwbydesign.com/minor/joinery/dovetails.html.

Is there a way to eliminate the ‘major’, ‘minor’ from the link without modifying my webpage design? If not, it is not the end of the world for me.

Thank you for any help provided.

As you want to change the displayed URL without changing your website’s directory structure I think this is a server topic. :slight_smile:

You could use the web server’s rewrite module to remove the dispay of those in the address field but still use the same link URLs pointing to files in those directories. You need to find a tutorial for your host’s web server (Apache, nginx, IIS, GWS).

Here’s an in house article about the Apache rewrite module, a bit old but accurate:

1 Like

Thanks, Erik_J!
I will take a look at the info you provided.
I appreciate your help.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.