Forum Moderators: phranque

Message Too Old, No Replies

problem in redirects in wordpress

         

kasem23

11:06 am on Aug 31, 2010 (gmt 0)

10+ Year Member



my friend give me script redirects in wordpress
is show link in wordpress
site my friend
[link.topicsx.com...]
look is show click here ok
but my sitr
[link.iphone4over.com...]
look is not show click here
why ?


htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^([0-9]+)/$ index.php?geturl=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

can any one help me

kasem23

12:06 am on Sep 1, 2010 (gmt 0)

10+ Year Member



can anyone help me

jdMorgan

3:05 pm on Sep 1, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I was hoping that somebody could figure out specifically what you are asking about here. I certainly can't tell.

All I can say is that with those rules in place, *all* requested URLs made up of numbers only and ending with a trailing slash will be rewritten to your "index.php" script with the number passed in the "geturl=" query string parameter.

If the requested URL is *not* "all-numbers followed by a slash", then the WordPress rule will rewrite all URL requests which do not resolve to an existing file or directory to the WordPress script.

So, the only statement I can make is "If that is not what you want to do, then you must modify this code."

Jim

g1smd

7:51 pm on Sep 1, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I was hoping that somebody could figure out specifically what you are asking about here. I certainly can't tell.


I had the same problem.