WP-ALCS-Plugin is a versatile WordPress plugin designed to manage country and language-specific URLs, ensuring your website is optimized for search engines. This plugin makes it easy to implement country switching and add hreflang tags, enhancing your site's SEO.
- This Plugin is directly focusing GCC Countries: e.g(UEA, Saudi Arabia, Qatar, Oman, and Kuwait).
- For use you need 2 more plugins (WooCommerce Price Based on Country, and Loco Translator).
- The 'Woocommerce price based on country' plugin is for making a zone, where you put the countries, and their currency equal to UEA currency, 2nd 'Loco Translator' puts the generated Arabic or another language file to work for specific language changes.
- Shortcodes you can use on their page or anywhere you want. For the country you can: "[alcs_country]" and for Langauge "[alcs_language]".
- Country Switching Plugin WP: Seamlessly switch between different country-specific URLs.
- WP Language Changer Plugin: Manage multiple languages for accurate language targeting.
- Hreflang Tags: Automatically add hreflang tags to improve SEO.
- SEO Optimization: Boost your site's ranking in international search results with optimized language and country targeting.
Follow these steps to install the WP-ALCS-Plugin:
-
Clone the Repository:
git clone https://github.com/Abbalochdev/WP-ALCS-Plugin.git
-
Navigate to the Plugin Directory:
cd WP-ALCS-Plugin
-
Zip the Plugin Files:
- Create a zip file of the plugin directory.
-
Upload the Plugin to WordPress:
- Go to your WordPress admin dashboard.
- Navigate to
Plugins
>Add New
. - Click
Upload Plugin
and choose the zip file you created. - Click
Install Now
and thenActivate
the plugin.
Alternatively, you can place the unzipped folder directly into the wp-content/plugins
directory of your WordPress installation and activate it from the admin dashboard.
Once the plugin is activated, it will automatically handle country and language-specific URL modifications and add hreflang tags to your site's head section.
To manually add hreflang tags, you can use the following code: