Hi everyone.
I've added recently permalinks to my website's news. An example is this one:
http://slurmed.com/news/2007/11/30
If you go to the link you'll notice that the URL is not actually the one above, but this one:
http://slurmed.com/?news&date=2007/11/30
That's because I'm not actually creating that path and page, but I'm using a .
htaccess file to redirect the first 'human readable' link to the second one.
Code:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^news/(.+)/(.+)/(.+) http://slurmed.com?news&date=$1/$2/$3 [r,nc]
In the above .htaccess file, first I used Redirection r=301, and later I used only r as you can see. More 3xx redirections
over here, and I used
this tutorial just in case.
Now, my problem is that when I try to add the link
http://slurmed.com/news/2007/11/30 to
Digg.com, it says that:
"This link does not appear to be a working link. Please check the URL and try again.". This is, I think, because the actual link with the redirection is
http://slurmed.com/?news&date=2007/11/30
Previously,
Digg let me add the URL:
http://slurmed.com/news/2007/12/04 when I was using r=301 (as you can see
here), but later, when I tried to add any other of those links, it just don't let me.
Now, if I don't use a 3xx Redirect, like this:
Code:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^news/(.+)/(.+)/(.+) http://slurmed.com?news&date=$1/$2/$3 [nc]
The page loads with the
http://slurmed.com/news/2007/11/30 URL in the Adress Bar, but the paths of the images, css, includes..... are then wrong and all I see is the same page but without any formatting and links (and I tried to fix it in that way but then the links like '?p=contact' do not work, and I had to change everything...).
Of all this explanation,
I would like to know if I need to use a 3xx redirect or not (I read about the 3xx redirects, but I don't know which one could be the best) and if using or not a 3xx redirect has something to to with Digg not allowing me to submit those URLs.
Any other solution or suggestion is very welcome.
Thanks in advance!.