Jump to content

Pretty URLS


gerkintrigg

Recommended Posts

I've got my site working pretty much as I want it: http://www.truro.com but when I search for something (doesn't matter what) and find a page, When I click on it, It directs me to a page like:

 

http://www.truro.com/pages/Ghostly~Publishing/Ghostly~Publishing.html

 

Everything's great so-far.

 

Then when I get there, the URL in the top bar reads like the ugly database code that sits behind it:

 

http://www.truro.com/pages/pages/reader.php?profile=Ghostly~Publishing&page=Ghostly~Publishing

 

Both pages are essentially the same because of the Mod re-write rule:

 

RewriteRule ^pages/(.*)/(.*)\.html http://www.truro.com/pages/pages/reader.php?profile=$1&page=$2 [L]

 

Is there something I'm doing that means I don't see the pretty URL I want to see?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.