- Posts: 15
- Thank you received: 1
Delete URL /contact/cid-12
- cesarsupport
-
Topic Author
- Offline
Less
More
6 years 6 months ago #318059
by cesarsupport
Delete URL /contact/cid-12 was created by cesarsupport
-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.18
-- PHP version -- : 7.3.17
-- Browser(s) name and version -- : All
Hello.
Good afternoon, I wish I could remove this self generated URL: ... product/contact/cid-12
I do not use this url, I am interested in the contact format only on the page of each product.
The URL .... product/contact/cid-12 is crawled by Google and placed in the search results.
Is there a way to remove it?
-- Joomla version -- : 3.9.18
-- PHP version -- : 7.3.17
-- Browser(s) name and version -- : All
Hello.
Good afternoon, I wish I could remove this self generated URL: ... product/contact/cid-12
I do not use this url, I am interested in the contact format only on the page of each product.
The URL .... product/contact/cid-12 is crawled by Google and placed in the search results.
Is there a way to remove it?
Please Log in or Create an account to join the conversation.
6 years 6 months ago #318095
by nicolas
Replied by nicolas on topic Delete URL /contact/cid-12
Hi,
You can't remove that URL from your website. That's the URL to access the contact form from the product page.
What you can do however is to ask search engines to not index that URL.
There are two ways to do this:
1. You can edit the file product / show_default.php in the menu Display>Views and change the line:
to:
2. You can modify the robots.txt file of your website to forbid all the URLs with produt/contact in them:
webmasters.stackexchange.com/questions/4...txt-disallowing-urls
You can't remove that URL from your website. That's the URL to access the contact form from the product page.
What you can do however is to ask search engines to not index that URL.
There are two ways to do this:
1. You can edit the file product / show_default.php in the menu Display>Views and change the line:
Code:
<a rel="noindex, nofollow" href="<?php echo hikashop_completeLink('product&task=contact&cid=' . (int)$this->element->product_id . $this->url_itemid); ?>" class="<?php echo $css_button; ?>"><?php
Code:
<a href="<?php echo hikashop_completeLink('product&task=contact&cid=' . (int)$this->element->product_id . $this->url_itemid); ?>" class="<?php echo $css_button; ?>"><?php
webmasters.stackexchange.com/questions/4...txt-disallowing-urls
Please Log in or Create an account to join the conversation.
- cesarsupport
-
Topic Author
- Offline
Less
More
- Posts: 15
- Thank you received: 1
6 years 6 months ago #318876
by cesarsupport
Replied by cesarsupport on topic Delete URL /contact/cid-12
Thank you.
I made the changes and requested reindexing, now I just have to wait for the Google results to be updated.
I made the changes and requested reindexing, now I just have to wait for the Google results to be updated.
Please Log in or Create an account to join the conversation.
Time to create page: 0.043 seconds