Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Mod rewrite question

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #38675

    So I’m pretty sure I found enough easy examples of how to change my url from http://www.example.com/directory.php to http://www.example.com/directory.

    However I’m not sure what this all affects, and everything i’m reading out there doesn’t really say. If i do this mod rewrite to remove all the file exensions from my site’s URLs, how does that affect my linking within pages? will i need to change all my links to just be http://www.example.com/test instead of http://www.example.com/test.php? or does it just change what the user sees, and not actually how the server is handling the request?

    in the same turn, what happens if you remove all the file extensions, and someone bookmarks your page. or shares your link. or writes it down to come back later. if they just type in http://www.example.com/test will it take them to http://www.example.com/test.php or will they get an error?

    My boss is discussing removing all the extensions to make our URLs more friendly, and I’m trying to gauge how much I’ll need to change to make this happen. Any help is appreciated. I’ve never worked with mod rewrite.

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.