logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 03-22-2015, 05:07 AM   #1
vinnyvangogh
 
Join Date: Aug 2009
Posts: 84
Default 301 Redirects

Trying to condense website of 98 pages to less - by moving content to other relevant product pages.

In the process I will need to create some 301 redirects. Sound s simple really!
BUT, hosting is "shared" server. Its a Linux platform - and the "real" server is Apache. I have no cPanel and no access to Apache rewrite engine.

The "support" tell me 301 redirects are OK - well that may be so - after a week and help from support - I finally managed to get ONE redirect to function.

OK.. now I have the supposed working format in front of me.
Redirect 301 /oldfile.html http://www.domain.com/folder1/folder2/newfile.html

Not functional- I try full URLS
Redirect 301 /http://www.domain.com/folder1/folder2/oldfile.html html http://www.domain.com/folder1/folder3/newfile.html

it worked! So today I try a second redirect using the same paths from the actual website structure.

2 hours later - not works! Although one redirect opened a totally different page as the "newfile" target!

Is it that I need to wait of for the server to understand whats happening and react..

My other question is... I need to redirect about 10 pages - I assume the go on the .htaccess file in list files and with a blank line separator.

TIA
vinnyvangogh is offline   Reply With Quote
Old 03-23-2015, 01:26 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

Quote:
My other question is... I need to redirect about 10 pages - I assume the go on the .htaccess file in list files and with a blank line separator.
\
yes add each redirect as newline for clarity
adb that code is correct so should work. maybe you gor a cached copy
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr 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 10:55 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com