Changing the Contact Redirect Page Joomla 3.4.6
Log into your Joomla 3.4.6 admin dashboard In the top menu, click Menus and then click on the menu where your contacts menu item is. In the list of menu items, click on the Contacts menu item you want...
View ArticleHow can I make a dynamic canonical tag on Magento
We generally recommend to hide internal site search from getting indexed /app/design/frontend/{your_package}/{your_theme}/template/page/html/head.phtml Add this code: <?php // code for show...
View ArticlePHP preg_replace expression to remove URL parameter after question mark
I wanted to remove all occurrences of specific pattern of a parameter from a URL using preg_expression. $url = "http://phpblogspot.com/link.php?r=test5&id=3726&location=24&sublocation=";...
View Articlehtaccess Tricks
Welcome to Perishable Press! This article, Stupid htaccess Tricks, covers just about every htaccess “trick” in the book, and is easily the site’s most popular offering. In addition to this htaccess...
View ArticleHow to remove index.php from URLs in Joomla
To enable Use URL rewriting in Joomla, you should do the following: Log into your Joomla dashboard. In the left menu, click on the Global Configuration link under the SYSTEM tab. There are several...
View ArticleHow to remove trailing slashes in URLs using .htaccess
.htaccess for automatically removing (and redirecting) URLs with trailing slashes # remove trailing slash from URLs RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} (.*)$ RewriteRule...
View ArticleHow to remove /home from url in .htaccess
You can try this code in root .htaccess: <IfModule mod_rewrite.c> RewriteEngine on //# Redirect from http://domain.com/home/... to http://domain.com/... RewriteRule ^home\/(.*)$ /$1 [L,R=301]...
View ArticleHtaccess: add/remove trailing slash from URL
Right below the RewriteEngine On line, add: To enforce a no-trailing-slash policy. RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] To enforce a trailing-slash policy: RewriteCond...
View ArticleHow to change sitemap url priority in magento
Sitemap can be configured from the interface System -> Configuration -> Catalog -> Google Sitemap. After change sitemap url priority then go to the re-genrate sitemap interface and click on...
View ArticleAdd custom page title and meta description only product pages in shopify
Go to the theme.liquid file in editor and replace these lines with your existing title and meta description code. <!---- Title and description ----> <title> {% if product %} Buy {{...
View ArticleGoogle Universal Analytics
Google Universal Analytics This new extensions adds new Google Universial Analytics to your Magento Store, including Ecommerce Tracking. We got this blog from www.magentocommerce.com for blog more...
View ArticleHow to add cononical tag in opencart
We have found the way to add the canonical tag on OpenCart website in a easy way… First we find the catetory.php file from the category folder catalog/controller/product/category.php file Find this...
View ArticleAdd custom page title and meta description only product pages in shopify
Go to the theme.liquid file in editor and replace these lines with your existing title and meta description code. <!---- Title and description ----> <title> {% if product %} Buy {{...
View ArticleRedirect index.html and non www to www using web.config
I use a standard web.config file in my projects which are hosted on Windows servers. Now i need to redirects non www url to www with https and remove the index.html from the url....
View ArticleHow to remove .html from URL by using .htaccess
To remove .html from the URL of a page. Also, need to redirect any url with .html to the one without for example. www.example.com/page.html to www.example.com/page NOTE: When your are testing...
View ArticleBug JTableMenu: :_getNode adding components Joomla
Problem I am not sure where to start here. I have the same error showing up and new components simply don’t show up in the Joomla 3.5.6 admin Components menu. The components are installed into the site...
View ArticleAdd or Remove trailing slash from URL by using .htaccess
Right below the RewriteEngine On line, add To enforce a no-trailing-slash policy (To remove the trailing slash from URL). RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] To...
View ArticleHtaccess Redirect www to non-www
I would like to redirect www.example.com/xyz.html to example.com/xyz.html. The following htaccess code makes this happen. But if we need to do this for separate http and https: RewriteCond %{HTTPS}...
View ArticleRedirect HTTP to HTTPS using .htaccess
Now you just need to add the above code at your .htaccess file for redirect http to https RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://example.com/$1 [R,L] For Example:- Now, when a...
View ArticleConvert URL’s Uppercase To Lowercase By .Htaccess
Redirect all URL or Links from any uppercase latters to lowercase latters using pure mod_rewrite within an .htaccess file. RewriteEngine On RewriteBase / # If there are caps, set HASCAPS to true...
View Article