![]() |
| Home | Demo | Services | Features | Help | User Forum | Blog | About | |
|
#1
|
|||
|
|||
|
Just need to ask about what is felt about using the following in the head of my site. Idea is to point out that I prefer this url as opposed to using the same with a trailing slash. This is on a XHTML Strict page.
<link rel="canonical" href="http://www.me_ye_ol_domain.org/aboutmysite.htm" /> pro's and con's
__________________
He Profits Most Who Serves Best “Remember that great missions are serious undertakings. Do not expect to perform great missions in a day.” |
|
#2
|
|||
|
|||
|
Not entirely sure what you're trying to achieve with this, but IMV it's better to do this in htaccess if you can, perhaps with a 301?
|
|
#3
|
|||
|
|||
|
Just a little SEO. I'd like to try the htaccess but have little luck with it. Must be the host, but is on Apache. Have you any luck with htaccess?
__________________
He Profits Most Who Serves Best “Remember that great missions are serious undertakings. Do not expect to perform great missions in a day.” |
|
#4
|
|||
|
|||
|
Yes. I've used and do use 301 redirects for pages that have been deleted and to ensure google and other SE's don't duplicate content by indexing www.example.com and http://www.example.com, i.e.
RewriteEngine On RewriteCond %{HTTP_HOST} !^www.example.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R,L] I also use htaccess to prevent hotlinking and block specific IP's from our sites. Hope that helps? |
![]() |
| Thread Tools | |
| Display Modes | |
|
|