All Questions

Tagged with
Filter by
Sorted by
Tagged with
2
votes
1answer
29 views

Google Sites: 301 Redirect broken links to the home page

Several months ago, I migrated my domain from GoDaddy to Google Domains and now use Google Sites. Several broken links from the old GoDaddy webpage highly ranked on Google Search persist. I would ...
2
votes
0answers
60 views

How do I redirect thousands of WordPress URLs to a subdirectory?

I have a WordPress website and it has almost 22,000 blog posts. It has been running with good SEO for the past 6 years. The contents are scattered in almost all social media and backlinked in a lot ...
2
votes
1answer
27 views

Redirecting index.html to root + folder index.html to root folder? (multilingual)

I have example.com page. I want a homepage without index.html (example.com/index.html -> example.com) RewriteEngine On RewriteRule ^index\.html$ / [R=301,L] RewriteRule ^(.*)/index\.html$ /$1/ [R=301,...
1
vote
1answer
36 views

Does it hurt to have multiple .htaccess_backup files?

Today I saw .htaccess_backup files in my file manager. Does it affect SEO or something else? Should I delete all the .htaccess_backup files or does it not matter?
2
votes
1answer
266 views

Google Could Not Fetch Sitemap

Sitemaps are necessary part of our web work, and we need them to get more "Google love". But for the past one month or so, I have not been able to submit sitemaps on Google search console. I used ...
0
votes
1answer
37 views

Add Expires headers in GTmetrix

When I test the performance of my website via GTmetrix.com it says that there are 2 static components without a far-future expiration date. and listed below links. https://www.googletagmanager.com/...
1
vote
0answers
59 views

Considering changing URL structure from example.com/page?id=1 to example.com/1/keywords but wondering what SEO impact is

Currently our website has a variety of community generated content that is under the URL structure of example.com/page?id=1. Some of these pages rank quite well on Google due to a combination of ...
1
vote
0answers
52 views

invoke a URL Perl script silently, without changing URL visible to client

I've been fighting the Google canonical page algorithm bug for 2+ months. Following various forum advice and suggestions haven't solved it yet, although for sure they've made our website better. One ...
2
votes
1answer
41 views

Do search engines crawl links with query strings?

If I were to have a url like https://example.com/books, that contained several links to urls such as: https://example.com/books?id=foo https://example.com/books?id=bar https://example.com/books?id=...
2
votes
0answers
81 views

Is it safe to do a htaccess rewrite for mobile traffic to amp pages?

I have a requirement to use the same URL for both desktop and mobile devices. On mobile, I want to serve amp HTML while on the desktop I want to render normal HTML. In such case is it safe (from SEO ...
1
vote
1answer
39 views

Redirected too many times when I try to force https for all URLs

I want to redirect all website urls to https. I used the code below to do so. My website is built up using simple PHP. I don't use any opensource framework or CMS. RewriteEngine On RewriteCond %{...
1
vote
1answer
171 views

How to bulk redirect in htaccess from old site with parameters

I'm currently updating an old website, but I don't know much about htaccess redirects. I made a script to get all the pages of the website and here are some examples: For pages: Redirect 301 /index....
0
votes
0answers
26 views

301 Redirection Help for Moving New Domain with New Directory

I have a WordPress website on example.com with 500+ pages. I need to move this site to newsite.com/blog/ I searched this on Google the whole day, but couldn't find how to write 301 for my ...
2
votes
1answer
38 views

Can I use a rewrite rule to send all requests to a single file?

Can I make a single regular expression for all my RewriteRules? I'm rewriting everything to a single file and this this acts like a front-controller. My example: RewriteRule ^de/kontakt/anfahrt$ ...
2
votes
2answers
88 views

How would Google react if I redirected currently ranking landing pages to the home page?

I have some tag pages on my website which contain specific keywords. They appear in the Google search results for those keywords. Those pages bring in a fair amount of traffic but the bounce rate is ...
0
votes
0answers
29 views

Edit htaccess file to remove the slash at the end without disturbing https settings [duplicate]

My website URL has a slash at its end and appears like this https://mywebsite.com/ Since search engine reads https://mywebsite.com/ and https://mywebsite.com as two different URLs, I want to ...
1
vote
1answer
251 views

htaccess category seo url redirecting to 404 page in localhost [closed]

I am trying to edit my htaccess. All urls working fine on server, but same htaccess setup redirecting category/cat_name/ url to 404 page without giving any error. all other urls working fine accept ...
3
votes
1answer
360 views

Multiple rules to rewrite the url

Why both rules don't work together and how can i fix it? Only the first one works... I think that there's a conflict between the two rules, but i did not found a solution yet ?p= is the querystring i ...
2
votes
2answers
210 views

How to show 410 Gone status for subdomains that are already been deleted

I bought an auctioned domain to build my new project, from my analysis with Ahrefs, people that were behind this domain had a subdomain called "forum" for their forum, and somehow they didn't know how ...
0
votes
1answer
82 views

How to migrate from HTTP and HTTPS old sub domain to HTTPS root new domain in htaccess with least SEO risks?

Looking for the best site migration strategy for SEO, which consider these specific combinations of elements and challenges: *note: site is in Wordpress. Htaccess redirect code to go from sub ...
0
votes
1answer
30 views

what is url robot search engine when enter to my website [closed]

what is url search engine robots when enter to my website for example i add this code in .htaccess this code just allow google robots read the robots.txt i need to add url ( msn , yahoo , bing ) ...
1
vote
0answers
24 views

Disallow URLs made with mod_rewrite in robots.txts [closed]

Here is my robots.txt file: User-agent: * Disallow: /head.php Disallow: /head/ Disallow: /head Disallow: /header.php Disallow: /header/ Disallow: /header Disallow: /footer.php Disallow: /footer/ ...
3
votes
1answer
90 views

Redirecting to subdomain, impact on SEO?

I've been working on a web platform project for a client, and we are nearing completion. Basically, the platform is a small social network for a specific group of people. Part of the specification is ...
3
votes
1answer
46 views

Redirect IPSuite “?/topic/” URLs to “?thread/” for Woltlab

I moved from IPSuite forums system to Woltlab burning board forum system. What happen next was that my old links that start with: example.com/index.php?/topic/ Now start with: example.com/forum/...
3
votes
1answer
736 views

Full domain .htaccess 301 keeping same paths, but also redirect some URLs to different paths

I believe the following code will redirect my old domain to my new domain keeping the same URL paths. RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.newdomain\.co.uk RewriteRule (.*) https://www....
3
votes
1answer
578 views

XenForo SEO Friendly URL returns 404 on forum page

I have my .htaccess file in the base directory of the installation of XenForo. When I enable SEO Friendly URLs, it returns error 404 only on the forums and members pages. htaccess file: # ...
4
votes
2answers
431 views

Using 301 redirects to change domain and maintain SEO

I’m setting up a Wordpress website with a new domain name to replace my client’s current website. I’d like to redirect the old domain to the new domain in a way that will maintain the search engine ...
2
votes
1answer
3k views

How do I configure gzip to work on External Resources

In order to do this I put code to .htaccess: <ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file .(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-...
0
votes
1answer
62 views

Replace all url start with “ m.” to without “.m” ( m.example.com/index.html To example.com/index.html)

Our previous website has one sub directory called "mobile". So in the main pages we write code if it is screen size less than 640px then go to mobile/ folder . <link href="http://mobile.example....
4
votes
6answers
230 views

Should my users' profile page URL be /user/bob or just /bob?

Currently, the URL to a user's page is this: website.com/user/bob But I'm considering changing this to be: website.com/bob Without the /user/ part. It comes across as much cleaner and easier to ...
2
votes
2answers
58 views

SEO executive .htaccess file knowledge

Should SEO executive in a company have knowledge of .htaccess file to make changes in that file or it is the task of developer in the company to make even small changes? In short what I am asking is ...
2
votes
1answer
193 views

When mass redirecting URLs from the old site, can I redirect everything to the home page of the new site for SEO?

I need to redirect thousands of URLs to my new site (its the same domain, but now is on Wordpress), I don't want to lose all the SEO from the old posts, but I don't know how to redirect each old link ...
1
vote
1answer
1k views

.htaccess doesn't redirect my pages from HTTP to HTTPS

It seems like .htaccess doesn't redirect my pages from http to https. My domain is redirected to https but not my pages… Can it be a bad configuration from my web host? Here is what I have done ...
2
votes
1answer
2k views

Url rewrite not work in wamp localhost

I am developing a PHP web application. I have pages, posts, categories, product and etc. Here is my .htaccess file to create SEO friendly URL: Options -Indexes RewriteEngine on RewriteRule ^Page/(.*)...
5
votes
2answers
8k views

Redirect from URL with parameters to SEO friendly URL in .htaccess

I have category page with this structure example.com/Category.php?Category_Id=10&Category_Title=some-text i want to write htaccess rules to redirect from example.com/Category.php?Category_Id=...
4
votes
2answers
443 views

Duplicate title tags and meta descriptions after removing .html extension from files

Google Webmaster Tools/Search Console is giving me errors regarding duplicate title tags and meta descriptions. The website in question is a static HTML website. All documents do have a .html ...
1
vote
1answer
990 views

Htaccess rewrite url for language

I need help for rewrite url via htaccess by adding language. I found this example and work fine: .htaccess language redirects with SEO-friendly URLs However I need something more generic, for avoid ...
2
votes
1answer
179 views

.htaccess and permanent redirection with a special condition

I have a WordPress website hosted on Bluehost which contains the following URL pattern: http://www.example.com/2017/01/30/sample-post/ I wanted to permanent redirect it to use this: http://www....
1
vote
1answer
59 views

Two Permanent Redirects using .htaccess

I have a Wordpress website which contains the following URL pattern: http://www.somewebsite.com/2017/01/30/sample-post/ With the help of user w3dk, I have been able to permanent redirect it to: ...
1
vote
1answer
59 views

.htaccess and permanent redirection issues

I have a WordPress website hosted on Bluehost which contains the following URL pattern: http://www.example.com/2017/01/30/sample-post/ I want to permanent redirect it to use this: http://www....
2
votes
1answer
228 views

How to redirect multiple new domains back to their primary domain without negatively affecting SEO/Rankings or anything else?

I've searched Google high and low. There are many answers to this question. I even asked another question similar to this one however it lacked specificity. Something this question will not lack. I ...
1
vote
0answers
33 views

How does a webmaster perform a proper redirect from one domain to another? [closed]

There are a few questions that are inherently present inside the main question. Those questions are: What is the best way to perform this type of redirect? (Presumably a 301 Perma for SEO Best ...
2
votes
2answers
925 views

How to redirect urls without cpanel access

My client is a CPA firm that had a website built with a CPA site builder company. They no longer want that site, but I have earned them good rank with many of their local keywords. We have designed a ...
1
vote
1answer
143 views

500 error when using htaccess rule for SEO Friendly URL for example.com/archive/?page=1

I'm trying to make example.com/archive/?page=1 SEO friendly but every example I've tried, gives error 500. It might be because of the index.php. Does anybody know how to make: example.com/archive/?...
3
votes
1answer
25 views

301 redirecting blog links that don't start with `/blog` to the new blog location

I had a WordPress site that I moved folders - http://example.com to http://example.com/blog. The problem now is that many sites still link to my old blog links to /blog-post so when users click on ...
3
votes
1answer
2k views

Trailing slash, google search console and sitemap

I force usage of trailing slash for all of my pages under https://example.com, however the main domain remains without it - from what I've read it's OK to do so, but I'm not sure how does Google '...
1
vote
1answer
933 views

Godaddy ip canonicalization

I have tried find solution to this all around Google and here, but no luck so far. when I try connect to my website by using IP, it will not redirect to the website. Only godaddy's "Coming soon" page....
1
vote
1answer
214 views

Can .htaccess be changed through FTP after it was edited in WordPress in a way that breaks the site?

I made the mistake of putting in the following code on my .htaccess file thru Yoast SEO: # Remove www from any URLs that have them: RewriteEngine on RewriteCond %{HTTP_HOST} ^www\. RewriteRule ^(.*)$ ...
2
votes
2answers
437 views

301 redirection from thousands pages to single

I have a tech blog (CCTLD) running from 9 years with thousands of pages (including tags and categories) and i no longer want to continue that blog. And want to get benefit of its SEO value. Now i ...
2
votes
1answer
131 views

How to customize youtube url to dynamic pretty url? [closed]

I am creating seo friendly links for my site. I am succeeded in creating all link just the data fetch from youtube using Api is creating an ugly and long link i want is there any way out to make that ...