ex: forum.html?mark=read
But in some instances the question mark is being removed resulting in forum.htmlmark=read
To be more exact, this is what I have in my .htaccess:
- Code: Select all
RewriteEngine on
# Fix bookmarks
RewriteRule ^(.*\.html[-]?)\&(.*)$ http://www.somedomain.com/forums/$1?$2 [R=301,NC,L]
# Fix google indexed data
RewriteRule ^post-(.+).html$ http://www.somedomain.com/forums/viewtopic.php?p=$1 [R=301,NC,L]
RewriteRule ^about(.+).html$ http://www.somedomain.com/forums/viewtopic.php?t=$1 [R=301,NC,L]
RewriteRule ^forum-(.+).html$ http://www.somedomain.com/forums/viewforum.php?f=$1 [R=301,NC,L]
# Apply current SEO mod
Rewriterule ^(.+)-f([0-9]*).html-(.+)$ ./viewforum.php?f=$2&$3
Rewriterule ^(.+)-(t|p)([0-9]*).html-(.+)$ ./viewtopic.php?$2=$3&$4
Rewriterule ^(.+)-f([0-9]*)s([0-9]*).html-(.+)$ ./viewforum.php?f=$2&start=$3&$4
Rewriterule ^(.+)-(t|p)([0-9]*)s([0-9]*).html-(.+)$ ./viewtopic.php?$2=$3&start=$4&$5
Rewriterule ^(.+)-f([0-9]*).html$ ./viewforum.php?f=$2&$3
Rewriterule ^(.+)-(t|p)([0-9]*).html$ ./viewtopic.php?$2=$3&$4
Rewriterule ^(.+)-f([0-9]*)s([0-9]*).html$ ./viewforum.php?f=$2&start=$3&$4
Rewriterule ^(.+)-(t|p)([0-9]*)s([0-9]*).html$ ./viewtopic.php?$2=$3&start=$4&$5
The two exact problems are:
- Code: Select all
http://www.somedomain.com/forums/support-f100.htmlsk=t&sd=d
(missing question mark after html)
http://www.somedomain.com/forums/support-f100.htmlmark=topics
(missing question mark after html)
I could really use some help on resolving this, as it's creating so many page not found errors. Thanks in advance for any direction, advice, or solutions.