Jump to content

Recommended Posts

I've used mod rewrite a few times in the past for sites to have nice pretty SEO URL's.

 

Here's my current situation though,

 

I want:

domain.com/news/2008/02/27/name

to really be:

domain.com/news/?year=2008&month=02&day=27&title=name

 

I think I know how to do that but here's my problem:

This dynamic url is actually replacing a legacy system which used actual HTML files in sub folders.

 

So while i want the mod rewrite to work for all new links created, I still need the site to be smart enough to check if a file actually exists at the URL and show that file instead of using the cute new link.

 

thoughts on how to handle this?

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.