<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to &quot;force&quot; redirect from .html to clean version?]]></title><description><![CDATA[<p dir="auto">Hello Appdrag team<br />
Despite allowing the rewriting of URL to remove the html, we notice that all pages are indexed in duplicate. .html do not redirect to clean URL. Causing major SEO issues....<br />
I tried forcing a redirection using the redirection tool for a .html page to its version without it, but it does not seem to be effective. Would love some help figuring out how to force URL rewriting and redirection. Is there an htaccess file somewhere to write it inside? Or another way to do so? Thanks a lot</p>
]]></description><link>https://community.appdrag.com/topic/371/how-to-force-redirect-from-html-to-clean-version</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 09:20:18 GMT</lastBuildDate><atom:link href="https://community.appdrag.com/topic/371.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Sep 2020 06:56:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to &quot;force&quot; redirect from .html to clean version? on Fri, 25 Sep 2020 10:36:03 GMT]]></title><description><![CDATA[<p dir="auto">I recommend you this great article from <a href="http://Moz.com" rel="nofollow ugc">Moz.com</a> about duplicate content:<br />
<a href="https://moz.com/learn/seo/duplicate-content" rel="nofollow ugc">https://moz.com/learn/seo/duplicate-content</a></p>
<p dir="auto"><strong>How to fix duplicate content issues</strong><br />
Fixing duplicate content issues all comes down to the same central idea: specifying which of the duplicates is the "correct" one.</p>
<p dir="auto">Whenever content on a site can be found at multiple URLs, it should be canonicalized for search engines. Let's go over the three main ways to do this: Using a 301 redirect to the correct URL, <strong>the rel=canonical attribute</strong>, or using the parameter handling tool in Google Search Console.</p>
<p dir="auto">This is exactly what is happening on your site, if you check the source code of this page (with .html) :<br />
<a href="https://www.dotmarket.eu/estimation.html" rel="nofollow ugc">https://www.dotmarket.eu/estimation.html</a><br />
you will see this: &lt;link rel="canonical" href="<a href="https://www.dotmarket.eu/estimation" rel="nofollow ugc">https://www.dotmarket.eu/estimation</a>"/&gt;</p>
<p dir="auto">So that's the correct way to tell google and other search engines that the original contact for this page is hosted on that particular url (without .html)</p>
<p dir="auto">Now please take in consideration that google is not reindexing the whole web every day! This process can take several days to several weeks to complete. You can speed up the process by providing your sitemap.xml file directly to google in google search console.</p>
]]></description><link>https://community.appdrag.com/post/1417</link><guid isPermaLink="true">https://community.appdrag.com/post/1417</guid><dc:creator><![CDATA[Joseph Benguira]]></dc:creator><pubDate>Fri, 25 Sep 2020 10:36:03 GMT</pubDate></item><item><title><![CDATA[Reply to How to &quot;force&quot; redirect from .html to clean version? on Fri, 25 Sep 2020 08:14:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/16">@Joseph-Benguira</a> said in <a href="/post/1405">How to "force" redirect from .html to clean version?</a>:</p>
<blockquote>
<p dir="auto">anonical url is the same regardless of the access url with or without html</p>
</blockquote>
<p dir="auto">Hello Joseph thanks for the quick feedback.<br />
Unfortunately, that does not seem to be the case.</p>
<p dir="auto">Shortly after switching to no .html, we lost all rankings.<br />
As of today, our home page has 3 different versions, all index by google (talk about duplicate content :)) and all pages are indexed twice. Once with .html and once without.</p>
<p dir="auto">Running several tools, we identified that all pages are thus considered duplicate, and being penalized by google. We do not rank on any related KW, even very long tail, with our root domain related URLS.</p>
<p dir="auto">.html is properly set to without html canonical as per your tool.<br />
Yet the redirection is not working (i tried using the redirection tool to force html to non html, it didn't work. See for instance <a href="https://www.dotmarket.eu/estimation.html" rel="nofollow ugc">https://www.dotmarket.eu/estimation.html</a> wih is set to redirect to <a href="https://www.dotmarket.eu/estimation" rel="nofollow ugc">https://www.dotmarket.eu/estimation</a>.</p>
<p dir="auto">Happy if you have a solution to this!<br />
If not, we might just go back to having all our URL with .html<br />
Not as clean, but it did use to rank <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
]]></description><link>https://community.appdrag.com/post/1416</link><guid isPermaLink="true">https://community.appdrag.com/post/1416</guid><dc:creator><![CDATA[KEVIN JOURDAN]]></dc:creator><pubDate>Fri, 25 Sep 2020 08:14:01 GMT</pubDate></item><item><title><![CDATA[Reply to How to &quot;force&quot; redirect from .html to clean version? on Thu, 24 Sep 2020 10:13:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/463">@KEVIN-JOURDAN</a> said in <a href="/post/1401">How to "force" redirect from .html to clean version?</a>:</p>
<blockquote>
<p dir="auto">I tried forcing a redirection using the redirection tool for a .html page to its version without it, but it does not seem to be effective. Would love some help figuring out how to force URL rewriting and redirection. Is there an htaccess file somewhere to write it inside? Or another way to do so? Thanks a lot</p>
</blockquote>
<p dir="auto">Hello Kevin,<br />
please check the source page of your site and check the canonical meta, google will index only the canonical url</p>
<p dir="auto"><img src="/assets/uploads/files/1600942340864-c38bc82e-b104-49aa-b411-44d82dcf4a52-image.png" alt="c38bc82e-b104-49aa-b411-44d82dcf4a52-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1600942358993-93954499-3c34-4ddd-998f-2bc96ddf520c-image.png" alt="93954499-3c34-4ddd-998f-2bc96ddf520c-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">You will notice that in both case the canonical url is the same regardless of the access url with or without html</p>
]]></description><link>https://community.appdrag.com/post/1405</link><guid isPermaLink="true">https://community.appdrag.com/post/1405</guid><dc:creator><![CDATA[Joseph Benguira]]></dc:creator><pubDate>Thu, 24 Sep 2020 10:13:27 GMT</pubDate></item></channel></rss>