The modification I made in the article with titled: How To Make Breadcrumb NavXT Plugin Support for Multi Language will make that plugin will support for multilingual site. Unfortunately, the Home link in the breadcrumb (if you display it in the breadcrumb) will give you a result always pointing to the default URL’s home, and not to the home of the selected language. For example, you have a multilingual site which English as default language and Indonesian as the second language. So, the default of URL’s home in English is http://www.example.com, and unfortunately the URL’s home in Indonesian does not change, and still using: http://www.example.com instead of http://www.example.com/id/. In order to overcome this little issue but still annoying me, then this following modification will help you by replacing only two lines of code in the breadcrumb_navxt_class.php file belongs to Breadcrumb NavXT plugin. Read more…
After implementing the similar modification about how to remove the category and product id from URL of PrestaShop in my last two articles before this current one, now let’s try to remove also the CMS ID from URL of your PrestaShop. For instance, by default PrestaShop uses the URL for displaying CMS page like: /content/1-delivery instead of /content/delivery. I have successfully implemented the modification into PrestaShop version 1.2.5. It is recommended that you have also implemented the two similar modification about how to remove category id and how to remove product id from the URL of your PrestaShop. Read more…
Have you ever wanted to remove the product id from the URL of your PrestaShop? For instance, by default, PrestaShop uses this URL to display the certain product named ipod-touch: /7-ipod-touch.html instead of /ipod-touch.html. Well, here is the solution how you can make it comes true. I have successfully implemented it into PrestaShop version 1.2.5. Please note that before you implement this modification, make sure you have already implemented the similar modification that will remove category id from the URL. Read more…
This following modification will remove the category id from the URL of your PrestaShop. As we know, by default, PrestaShop uses the URL for category such as: /3-accessories-ipod instead of accessories-ipod. Please note that you have to enable the URL Friendly feature that you can set it up from the Preferences tab in admin panel by choosing the Yes option in order to implement this modification. I have successfully applied this modification into PrestaShop version 1.2.5 (the stable version until I wrote this current article). Read more…
This simple script is very useful for you if you want to check whether a URL exists or not without having to visit the page. This script using PHP, and I have tested it. It worked like a charm. Of course, you need to modify further the way you want, for example, this function will be called when a button is clicked, and so on. But we are not here to discuss these details. This example as simple as possible in the hope that you can develop further according to individual needs. Read more…
If you have ever read my article Redirecting URL Without www to URL With www Using .htaccess File regarding how to redirect the URL of a website from its address that being typed by visitor without the prefix www become the address with prefix www, then the redirecting script will not be useful at all. For example, your main website domain is mydomain.com, then by using that redirect script in that article, if you have subdomain, for instance, mysubdomain.mydomain.com which this mysubdomain sub directory will be located under the root of your mydomain.com, then your URL will be converted to: http://www.mydomain.com/mysubdomain/. Of course, we do not expect this condition happened, right? So, how is the solution? Read more…
This following article will show you how you can add a small feature into osTicket version 1.6 RC5 about notify staff members of their accounts right away after they have been created by Admin or their Manager. When Admin or Manager create a new staff account, then osTicket will send email to the staff email that contains of username and password, including the URL for login to the osTicket System. Read more…
Categories: osTicket Tags: account, admin, akun, email, login, manager, notify, osTicket, password, send, staff, url, username
The aim of the title of this article is to provide the additional prerequisite that is password when client obviously wanted to open a new ticket in osTicket System v1.6 RC5. I made this modification by adding a new field named password in ost_ticket table. After client open a new ticket, then osTicket will generate the new password and display a message that inform client about the password that has just been sent to the client’s email. The ticket will be set to ‘delay’ status at this moment, instead of set to ‘open’ status. This password then will be automatically being sent by osTicket to the client’s email including the URL contains of that password. Afterwards, client has to click on that URL link in order to activate the ticket (in this case, osTicket will change the ticket status from ‘delay’ become ‘open’). Therefore, staff will be able to see that ticket on the ticket list via staff-panel. Read more…
Categories: osTicket Tags: activate, change, closed, delay, email, link, notification, open, osTicket, page, panel, password, sandi, security, send, status, ticket, url
Today I learnt something new again about how to redirect my website if the visitors type in their browser such as this address: http://openscriptsolution.com (without prefix www.) then the browser will be automatically redirected it to the http://www.openscriptsolution.com (with prefix www.). This is very important for those of you who have the website, since you have to decide which URL that you will use for the consistency of your URL. In addition, Google loves the consistency of the URL that we used for our website. That’s what I have heard and known from Internet. So, here is the code how you can do that for your website by using .htaccess file. Read more…
Categories: General Tags: browser, consistency, Google, htaccess, HTTP_POST, IfModule, mod_rewrite, prefix, redirect, RewriteBase, RewriteCond, RewriteEngine, RewriteRule, root, url, visitor, website, www
Today I found another solution that worked really fine to redirect from old URL to new URL permanently by using Simple 301 Redirects plugin. I have tested this plugin and it worked like a charm. Before I found this plugin, I had tried to use the redirect 301 by using .htaccess file, but unfortunately, it did not work. Read more…
Recent Comments