Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

htaccess redirect

Featured Replies

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

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.

  • 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

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 :)

  • Author

brilliant, will give this a go! Thank you so much, you have really saved me!

  • Author

Just to say a massive thank you, all worked successfully!

Just to say a massive thank you, all worked successfully!

No probs.

 

That little green icon to the right at the bottom, press it :D

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.