New answers tagged

0

In the .htaccess file where competition.example.com points to on the filesystem, you can use a mod_alias Redirect: Redirect 301 /option_1 /option_2 This assumes you don't have any existing mod_rewrite (ie. RewriteRule) redirects that might conflict. Note that .htaccess files inherit along the filesystem path (regardless of whether you are using ...


2

You can do this with mod_rewrite, for example: RewriteEngine On RewriteRule ^blog/(apple|oranges|bananas)/ /blog/fruit/ [R=301,L] This literally redirects just the 3 URLs listed in the question. If you wanted to redirect from /blog/apple/<something> to /blog/fruit/<something> then you can modify the above RewriteRule to: RewriteRule ...


0

Even if there were a way to do this, you might find that you're actually doing the same thing in 2 different ways. Is there a difference between writing several individual 301 redirects and writing some script (I'm not even sure whether you'd be able to accomplish this with .htaccess) that uses some list/array of keywords that you needed to input by hand? ...


2

RewriteCond %{REQUEST_URI} \/modeles\.php [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule brand=([A-Z][\-A-Za-z]+)&model=([\-A-Za-z0-9\.]+$) http://www.soeezauto.com/modeles-voiture/$1/$2 [R=301,L] You can't match the query string with the RewriteRule pattern. The RewriteRule only matches against the URL-path ...


1

It used to be considered a bad practice to put your content on a subdomain as it was thought domain ranking factors would be split between the two domains, which is still true to some extent, however, if the two domains are interlinked ranking factors will flow through partially. It is thought that *.blogspot.com may be treated differently to ...


5

I'm going to have to say google is too slow. Your best bet is to go into Google search console, access your domain within it, then select the gear icon and then site settings, then for crawl rate, select "Limit Google's maximum crawl rate" and select the biggest crawl value by moving the slider all the way to the right. Then google will make up to 2+ ...


0

Solution that matches your query exactly : http://www.lanevance.com/web/web-development/tracking-301-redirects-with-google-analytics You can set up a campaign Sample : www.domaina.com -> http://www.domainb.com/?utm_source=domainaredirect&utm_medium=&utm_campaign=301_Redirects Now you can track this traffic in referrals.



Top 50 recent answers are included