![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Most of our websites are written in PHP with a MySQL back end. Simplified, every page is stored as a record in the database and templates are used for display of content. This means that there is always a /home or /welcome record which acts as the home page for the website. In the past I have always just done a straight header redirect to send visitors (and search engines) to /home whenever they have not specified a page. Few of our websites get good search engine rankings quickly, the few who are on the first page of results for their keywords have to build up a lot of links and it generally takes a year or more to get to page 2/3. I know that Search Engine Optimisation is a complex and time consuming task, but I wonder if this redirect could be a hindrance - should we be doing a 301 moved permanently redirect? We use this type of redirect (set in the .htaccess file, though we could do it in the PHP) to redirect from domain.com to www.domain.com, but is a 301 also appropriate to redirect to the home page when none has been specified? Your views and advice would be welcome. Marc |
#3
| |||
| |||
|
|
It would have been nice if you had given us a URL, but I checked [http://www.beasolutions.com/]. I ran it through the validator, with show Outline selected, and this was the result: |
|
Additionally, I would only redirect if you have to, like if someone fails a login attempt or something. I only redirect if I HAVE to; in the case where a page has actually been permanently moved, and then I do use a 301. |
#4
| |||
| |||
|
|
I know that Search Engine Optimisation is a complex and time consuming task, but I wonder if this redirect could be a hindrance - should we be doing a 301 moved permanently redirect? We use this type of redirect (set in the .htaccess file, though we could do it in the PHP) to redirect from domain.com to www.domain.com, but is a 301 also appropriate to redirect to the home page when none has been specified? Your views and advice would be welcome. Marc Bradshaw BEA Solutions Ltd. Portsmouth, UK Marc -- |
#5
| |||
| |||
|
|
I know that Search Engine Optimisation is a complex and time consuming task, but I wonder if this redirect could be a hindrance - should we be doing a 301 moved permanently redirect? We use this type of redirect (set in the .htaccess file, though we could do it in the PHP) to redirect from domain.com to www.domain.com, but is a 301 also appropriate to redirect to the home page when none has been specified? |
![]() |
| Thread Tools | |
| Display Modes | |
| |