August 30, 201115 yr Hi everyone I really need some help here. I have a portfolio site that had url's ending .php . I have now re-designed using Wordpress and the custom url's are simply site/pagetitle . I need to 301 the old url's to the new, as I don't want to lose out on my local Google rankings. At the moment I have a php page prompting the user to the new page but this isn't really ideal. My hosting is with Namesco and in Filezilla, even with Force hidden files, I cannot see my htaccess file. Basically, several url's need forwarding but I don't know how to put this in the file, as it looks like I am going to have to create one. If anyone can advise, I would be really grateful. My site is www.dswebdesigns.co.uk
August 30, 201115 yr Hi everyone I really need some help here. I have a portfolio site that had url's ending .php . I have now re-designed using Wordpress and the custom url's are simply site/pagetitle . I need to 301 the old url's to the new, as I don't want to lose out on my local Google rankings. At the moment I have a php page prompting the user to the new page but this isn't really ideal. My hosting is with Namesco and in Filezilla, even with Force hidden files, I cannot see my htaccess file. Basically, several url's need forwarding but I don't know how to put this in the file, as it looks like I am going to have to create one. If anyone can advise, I would be really grateful. My site is www.dswebdesigns.co.uk The 301 would look something like this, make sure you have a blank line in between entries. redirect 301 /mypage.php http://www.mywebsite.com/mypage/ You should just be able to open up notepad and save as .htaccess, upload to public_html. You may find that it formats it to .htaccess.txt on the server. If so, simply edit/rename it on the server by removing the trailing .txt.
August 30, 201115 yr Author Hi RootHost and thank you. Is that all the characters required in the htaccess file, or does it need to contain anything else? Sorry, but I must admit complete (and shameful) lack of knowledge in this particular area
August 30, 201115 yr Hi RootHost and thank you. Is that all the characters required in the htaccess file, or does it need to contain anything else? Sorry, but I must admit complete (and shameful) lack of knowledge in this particular area Nope thats it
August 30, 201115 yr Author brilliant, will give this a go! Thank you so much, you have really saved me!
August 30, 201115 yr Just to say a massive thank you, all worked successfully! No probs. That little green icon to the right at the bottom, press it
Create an account or sign in to comment