New answers tagged

2

http://www.example.com/~username/ The ~username part is a temporary URL just to open and view your website. It wont affect your website if you access it via the temporary URL. This give you the power to access the hosting files before your Domain DNS gets propagated (1 hour to 48 hours) across the globe. /public_html/example.co.nz This is peculiar but I ...


1

Hostgator refers to the ~username URL as a "temporary URL." They suggest that you don't actually use it. Instead, you should put your domain name into your local computer's host file until it is live in DNS. Hostgator has a help page that explains this. It also offers migration solutions from the temporary URL for all their server configurations. ...


1

Short answer. Yes. I do this all the time without issue. In fact, you do not have to search Google very long to see other examples where a period (.), dash (-), underscore (_), etc. are used. There are some characters that have special meaning that you should be aware of. From this page: ...


-1

i would like to say no. an URL in my old school influented opinion, should not contain anything beside 0-9a-z and - (_is a worst case). On the other side, in the Unicode times (now) when even cyrillic characters are fully supported as URLs signs, a point (in your URL) doesn't differ very much from any cyrillic character. So i must say yes, it is pretty seo ...


1

you should be able to differentiate two things: menu (which is mostly for users, to route them through your site structure), and real site structure (which is only for search engines / crawlers, so they have as few as possible troubles on the way to each content piece) Going from this, your real site structure should be (in the best case) start page ...


0

RewriteRule ^([^/]*)/([^/]*)\.html$ song_in.php?album_id=$1&song_id=$2 [QSA,L] RewriteRule ^([^/]*)/([^/]*)\.html$ video_in.php?album_id=$1&video_id=$2 [QSA,L] You have a conflict with the last two directives. You are using the same pattern for both, so all these requests are going to song_in.php. The second (video_in.php) directive is never ...


1

What you are describing is known as a "framed redirect". There are actually URLs for each page within the frame, browsers don't show them by default. Search engine robots such as Googlebot will find the frame URLs. Google will consider those URLs to the be the real URLs and it will put those URLs into the index. Google may even choose not to ...


4

Spell it out unambigously: /eighth-inch-width-ao-sanding-belts


2

and I want my link to be: http://example.com/shaandaar/kinna_sona.html shaandaar and kinna_sona are the slugs in my database. What should I write in my .htaccess file? This is the best way: RewriteEngine On RewriteRule ^([^/]+)/([^/]+)\.html$ /video_in.php?firstslug=$1&secondslug=$2 [L] In the RewriteRule, the ^ starts the matching. This: ...


1

...Google identifies index.php and the site's root as a single page These two things can totally be different. ...that redirecting index.php to root is not something we should worry about. I'd personally worry about it because: index.php is not a friendly URL especially if it has a query string attached to it. not having a friendly URL could ...


1

I have client who earns pagerank 2 with the same issue as yours. I redirected index.php as default home page into (even) folder /id/. However, I include canonical as an exact information for google to see ... "where my home address is actually" That means that what google needs is our final decision in related to this. As long as we include meta ...


3

The 404 errors are not from user input. Rather they are from links that Google has found while crawling the web. If you click on the 404 errors in the report you can see where Googlebot found the URL. You may find that many of them are bad links to your site. Some of them are probably Googlebot being dumb. You have several options: Do Nothing It is ...


2

One of the primary places Google looks for a date for any given page is in the URL. If a date is found in the URL, it is considered to be a strong indicator over most if not all other sources including within the response header. From this answer: How to tell how old a page is? 4] Google looks for a date within the URL. It looks for the following ...


0

There is no particular SEO benefit from having the date in the URL. Search engines may certainly parse the date to know when an article was first created, but equally if the date is on the page they would use that. I'm trying not to use dates in URLs because I'm not running blogs or any similar service. In my personal opinion, link is better without ...


2

To link to your AMP version use: <link rel="amphtml" href="/{/path/to/amp.html}"> For the backlink from AMP version to the desktop version use: <link rel="canonical" href="http://example.com">


1

Maybe this would help? RewriteEngine On RewriteCond %{QUERY_STRING} !(^|&)lang=en(&|$) [NC] RewriteCond %{HTTP_HOST} ^www\.myweb\.com\/index.html$ [NC] RewriteRule ^ %{REQUEST_URI}?lang=en [L,R=301,QSA] Only for homepage on addon domain (assuming your addon domain is http://YourAddOn.Domain.com): RewriteEngine On RewriteCond %{QUERY_STRING} ...


1

I agree that there is no SEO benefit to showing dates in an URL path, and want to point out that URL structures like this may create an SEO disadvantage. Your display URL in google SERPS is truncated after a max of 70 about characters. It's arguable that adding numbers (dates) to the URL string dilutes the semantic readability of the URL and the perceived ...


3

It is fully normal, that traffic drops after such basic change of URL structure. Google needs time to get the new structure, to re-index pages, to understand, whether the content changed and so on. I would say, the drop time is from 1 up to 5-6 weeks long. But you can speed up the re-indexing with new sitemap and new content, which is backlinked externally. ...


4

SOLVED! Thanks to you guys. Solution: # Turn Rewrite Engine On RewriteEngine on # Set the base to /games/ so we need not include it in the rules RewriteBase /games/ #Rewrite for achilles.php?games_path=xxxxxxxxxx.yyy&category_id=zzz RewriteRule ^([0-9a-zA-Z_-]+)/([0-9]+) $1.php?games_path=$1.swf&category_id=$2 [NC,L] ...


2

I have: http://funkygames.co/games/achilles.php?games_path=achilles.swf&category_id=1 I want: http://funkygames.co/games/achilles/achilles/1 or even better: funkygames.co/games/achilles/1 (if that's possible) Try this: RewriteRule ^games/achilles/(.*)/([0-9]+)$ /games/achilles.php?games_path=$1.swf&category_id=$2 [NC,L] And if the game ...



Top 50 recent answers are included