eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > Common Information > Search Engine Optimization

Search Engine Optimization Want to improve your site rank and positions? Then this forum is definitely for you. Read link exchange and search engine optimization tips and tricks. Get more power with new SEO tools discussed here. Get professional advice and more... DO NOT POST YOUR LINK EXCHANGE REQUESTS HERE OR INFORMATION ABOUT YOUR DIRECTORIES. They will be interpreted as spam and deleted.

Reply
 
Thread Tools Display Modes
Old 07-26-2009   #1
gitschi
 
Join Date: Mar 2006
Posts: 40
gitschi has disabled reputation
Default 301 redirect again

I have some incomming links to old folders, but the linked categories are not longer exist - so I want to redirect to the new category(ies). Example:

OLD: /Test-Cars/ should 301 to: http://www.xxxx.com/Cars/


Redirect 301 /Test-Cars/ http://www.xxxx.com/Cars/ >>>>>> DONT works

Please can somebody help me?

Thanks & KR gitschi
gitschi is offline   Reply With Quote
Old 07-27-2009   #2
aafo
 
Join Date: Oct 2006
Posts: 31
aafo is on a distinguished road
Default

Hello gitschi

The mod rewrite 301 redirect that you would use:

Code:
RewriteRule ^Test-Cars/(.*)$ http://www.xxxx.com/Cars/$1 [R=301,L]
in the file. htaccess
aafo is offline   Reply With Quote
Old 07-27-2009   #3
gitschi
 
Join Date: Mar 2006
Posts: 40
gitschi has disabled reputation
Default Thanks BUT

Quote:
Originally Posted by aafo View Post
Hello gitschi

The mod rewrite 301 redirect that you would use:

Code:
RewriteRule ^Test-Cars/(.*)$ http://www.xxxx.com/Cars/$1 [R=301,L]
in the file. htaccess

DONT WORKS ...:-((
gitschi is offline   Reply With Quote
Old 07-27-2009   #4
aafo
 
Join Date: Oct 2006
Posts: 31
aafo is on a distinguished road
Default

Quote:
Originally Posted by gitschi View Post
DONT WORKS ...:-((
has to be before

SECTION # 1:

Code:
# enable mod_rewrite
RewriteEngine on

RewriteRule ^Test-Cars/(.*)$ http://www.xxxx.com/Cars/$1 [R=301,L]

# SECTION 1
# correct urls for yahoo bot
RewriteCond %{REQUEST_URI} !\..+$
RewriteCond %{REQUEST_URI} !/$
RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]

# SECTION 2
# mod_rewrite rules for ROOT category
RewriteRule ^index([0-9]+).html$ index.php?category=0&page=$1 [QSA,L]
...........
aafo is offline   Reply With Quote
Old 07-28-2009   #5
gitschi
 
Join Date: Mar 2006
Posts: 40
gitschi has disabled reputation
Default Thanks

Thanks aafo > work fine now ..

KR gitschi
gitschi is offline   Reply With Quote
Old 08-02-2011   #6
jamhassan110
 
Join Date: Aug 2011
Posts: 5
jamhassan110 is on a distinguished road
Default

can we do all these redirect from cpanel ? i am facing difficulties in creating .htaccess file
jamhassan110 is offline   Reply With Quote
Old 08-03-2011   #7
Serge H.
Tech Support
 
Serge H.'s Avatar
 
Join Date: Oct 2010
Posts: 66
Serge H. is on a distinguished road
Default

jamhassan110
no but you can disable mod_rewrite in admin panel if you cannot configure server with .htaccess
Serge H. is offline   Reply With Quote
Old 11-22-2011   #8
jassicacute
 
Join Date: Nov 2011
Posts: 1
jassicacute is on a distinguished road
Default

Quote:
Originally Posted by Serge H. View Post
jamhassan110
no but you can disable mod_rewrite in admin panel if you cannot configure server with .htaccess
Which is better to rewrite Use .htaccess file or mod_rewrite ?

Thanx Jassica

Last edited by Greg; 11-22-2011 at 02:55 PM. Reason: removed link
jassicacute is offline   Reply With Quote
Old 12-28-2011   #9
jassmee
 
Join Date: Dec 2011
Posts: 81
jassmee is on a distinguished road
Default

301 redirect again is permanent redirection of any link to another link.
jassmee is offline   Reply With Quote
Old 10-30-2011   #10
BobMarleyII
 
Join Date: Sep 2011
Posts: 25
BobMarleyII is on a distinguished road
Default

Oh, so that's why it won't run no matter what i do.
BobMarleyII is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:54 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources