I created a blog in wordpress in French translated into English with the gtranslate plugin, now I want the default home page to be in English how can I force this redirect,
I thought of the htacces file but I don't I don't really know, I've found nothing
Related
I worked for a few days on XAMPP with a wordpress platform. After I bought a domain, I decided to use Duplicator plugin to transfer my whole wordpress snap to the new server. Everything is working just fine except for one single thing: whenever I go to my website, instead of visiting the actual page that should be "www.example.com/welcome" it redirects automatically to "www.example.com/wordpress". I made some research about it and discovered that usually wp is installed in a wordpress directory, but I completely made sure that:
on htaccess there is no /wordpress directory url
on index.php there is no /wordpress directory url
on wp-config there is no /wordpress directory both on SITE-URL and HOME
made sure that on the wp-admin config panel in the General section, the URLs are both set to the root directory.
For some unexplicable reason, everything is working fine, www.example.com/shop works for example, but if I set from the customization panel a page like "www.example.com/dummy" as homepage, then THAT page won't be found because it automatically redirects "dummy" to "/wordpress" which of course does not exist. You can type www.example.com and be redirected to www.example.com/wordpress and the same thing happens if you type www.example.com/dummy, since now that should be the homepage.
Can anyone explain me why is this happening? I searched everywhere but I can't find an answer.
I'm using the Storefront theme and Woocommerce plugin if that might help.
I am developing a CMS based on wordpress multi-site approach. So far i have 5 languages and i have created a site for each language.
Idea is when a user go to
www.mydomian.com/uk - displays English version.
www.mydomian.com/es - displays Spanish version.
www.mydomian.com/fr - displays French version.
Now I have reached localisation of my theme. As mentioned in theme developer handbook, i am aware of theme localisation functions and other options in wordpress. But i am confused, how would I inform my theme to load translations based on site which user is selected. for eg. if user is browsing www.mydomian.com/es theme should load all spanish translations.
Please let us know the best options for this.
Every site you add in WordPress multi-site has its own "Site Language" setting, so you don't need to set the locale from your URL pattern. The correct theme translations will be loaded automatically for each site just based on its settings.
If you didn't set the language when you added each site then go into each site's settings and change the field labelled "WPLANG" to "es_ES" and "fr_FR" respectively.
The site settings are found under My Sites > Network Admin > Sites then click edit under the site you want, and then select the "Settings" tab.
Or jump to: wp-admin/network/site-settings.php?id=<siteId> if you know the site ID number.
The site settings screen for multi-site isn't as user friendly as the standalone settings page. There is no dropdown menu for the available languages, so be sure to enter the locale code correctly.
It doesn't matter what you've chosen as your multi-site subdirectory or subdomain patterns just note that the codes you're using in your example are not the official WordPress locale codes.
Spanish is es_ES (not es)
French is fr_FR (not fr):
British English is en_GB (not uk)
I've gotten the 4.3.08 fishpig extension working with my 1.7 Magento site (yes, I know it's a very old magento version). The integrated blog looks great and has the magento theme when I access it via the Site Address URL. However, I can still access the non-integrated blog when I type the Wordpress URL into a browser. That url doesn't have the integrated theme - it's just the plain posts. I don't want google to index that wordpress url or for users to find that url. I want them to only see the Site Address URL. I have done a ton of searches but can't seem to find how to do this. Looking for help!
You haven't included your URL so I can't provide accurate feedback. That being said, if configured correctly, the WordPress URL should give a 404 error page. This won't be seen by anyone and won't be indexed by search engines.
If the WordPress URL is visible and everything is configured correctly, you may be using the default permalinks (eg. /blog/?p=123). Change the Permalink structure at Settings > Permalinks and the WordPress URL should generate a 404 page.
I am using Book Your Travel wordpress theme, when I changed permalinks structure from default to postname, the URL automatically started showing wrong page (destinations) instead of going to homepage, here is my link I am talking about: http://gtu.innerdiv.com/
If I set permalinks structure to default, then it works fine (homepage get load)
I've checked the .htaccess file, it contains wordpress basic htaccess rules.
I uploaded my wordpress site from my Local host to a folder off my main domain (http://example.com/folder) using this tutorial http://www.webdesignerwall.com/tutorials/exporting-and-importing-wordpress/
(im working on a mac)
Everything went ok - admin panel is fine homepage is fine etc - only any page apart from the homepage redirects to this (http://example.com/folder/pagename) except instead of showing the content from that page it shows the unstyled information from the index page of my main root (http://example.com/)
What can I do to get this working?
Thanks
Do a general search with phpMyAdmin in your database for localhost URLs. And see How to Find and Replace Text in WordPress MySQL Database using SQL When Changing Domains » My Digital Life and Search RegEx « WordPress Plugins for grepping through posts and pages.
Better yet, use interconnectit.com WordPress Serialized PHP Search Replace Tool
And check your theme files for hardcoded links (as opposed to links using Template Tags/bloginfo « WordPress Codex
) to style sheets and pages.
Reset permalinks in Dashboard/Settings/Permalinks.
Check:
wp-admin > Settings > Wordpress address and Blog address
to include "folder"
to get this working ... delete all the posts/pages - go to ur local wordpress blog and export it.
login to ur web blog and import.
that would be an alternative solution to working with the database and as far as i know exporting/importing content works good in wp :)