WordPress posts in a different language - wordpress

i have a website in WordPress and i want to type the posts directly in "Gujarati" language. i know that i cannot type directly, so first i type it in MS word and then i copy and paste the content in the website...but when i paste it, it doesn't show the correct language (it shows some symbolic fonts)... so i got to know from somewhere that the posts are typed in Unicode fonts only
so for unicode fonts.. google translate/google tool kit can be used.. now i am able to copy and paste in the post. but now when i hit publish/update the post, the content is not shown in the website.
i have attached the links... please view
first link shows the dashboard where i have pasted the content(in unicode).. and the second one is the place where you can read the post in the website
so can anybody help me with this?
please correct me if i am wrong somewhere or please give me suggestions or may be alternate method to do this?...
https://drive.google.com/file/d/0B7UzpxMCUs7JeHRYa014dGZuQzg/view?usp=sharing
https://drive.google.com/file/d/0B7UzpxMCUs7JcEgyOWFMWndUTHM/view?usp=sharing

From what I can see, it looks as if your permalinks have been screwed up in the process with the post names unicode characters. You are safest to go change the permalink structure to the default.
wp-admin --> settings --> permalinks --> default

Related

WordPress - translations not appended even strings are edited

Well after 5 days of trying to find solution, I think I need WordPress magician to help me solve this.
I am translating my WordPress site. So far I have translated over 80% of the content mainly accessing .po files via server or by using LocoTranslate
I have troubles with translating some specific content on the page:
When accessing Products section in WordPress Dashboard I can see that even the settings are translated (to Danish) but some content of the same product page are not.
Image Of PRODUCT page:
What I have tried so far:
Checked all In Stock strings via LocoTranslate plugin (for main theme po file and plugins file) and all are translated to Danish.
I changed Main language in General WP Settings
Tried TranslatePress plugin, and when accessing the page via it, it does not offer an option to translate In Stock part. Evan tough it offers an option to translate action button and I did that.
As I can see on the editing page In Stock is clearly part:
Product settings on Dashboard
This means "In Stock" and even here is translated, too.
Note: When refreshing the page the translation is seen for a part of a second for the BUTTON, then it changes back to English.
Well, I am desperate. Can someone offer some other solution how I can fix this?

WordPress permalink gives 404 after copy paste

I'm using utf8 urls (Hebrew) and encountered a weird behavior.
Reaching the website and browsing between pages works perfectly.
But copying the url and pasting it to a different tab will get you to a 404 page.
Also all links that are indexed by google shows 404 errors
This problem occurs only on the woo-commerce category links and i should mention that im using a plugin to remove the category base from the url.
How can i solve this ?
You can view the behavior on http://thj.360.co.il/
You may need to update your permalink structure again in settings. Just save the page again so it updates htaccess.
Pay attention that the link in hebrew parsed differently from the link that works:
WORKING LINK:
http://thj.360.co.il/%d7%98%d7%91%d7%a2%d7%95%d7%aa-%d7%99%d7%94%d7%9c%d7%95%d7%9e%d7%99%d7%9d/
NOT WORKING LINK:
http://thj.360.co.il/%D7%98%D7%91%D7%A2%D7%95%D7%AA-%D7%99%D7%94%D7%9C%D7%95%D7%9E%D7%99%D7%9D/
As you see in the second link all the letters are capitalized...

Permalink Linking Issues (Wordpress)

My current blog is www.bostonsbettah.com and my current permalink set-up is http://www.bostonsbettah.com/%category%/%postname%/
Now, in a perfect world, the a post should appear as something like www.bostonsbettah.com/bostonbruins/boston-bruins-1st-line-playing-like-a-1st-line/ and that should take you to the post. When I click on the page title at the top such as "Bruins Blog", it should take me to www.bostonsbettah.com/bostonbruins/ that has an archive of all posts categorized as "Bruins". Currently, however, every page besides the home page is a 404 error.
Now I know I can fix something in the .htaccess file and I know how to access it, but I don't want to mess with it as I don't know how to code. Is there a fix someone can provide that will allow me to fix my website? Thank you in advance.
Never,ever,ever put your blog URL inside custom permalink structure!. You must use one of the structure tags, or a combination of tags only.
Read the documentation first.

Images within a post display fine but clicking on images return 404 not found error

To start with, I am not an expert of any kind. Codes drive me insane. I run a site called: http://nascentarray.com.
I moved the site from one host to another and after the migration, I found that many images were broken. So, I changed the permalink structure:
From: nascentarray.com/post-name/
To: nascentarray.com/year/month/date/post-name/
Everything looked fine until I started getting 404 errors on images interested into the posts directly.
To me more specific, I use two methods to insert images:
I use the Jetpack module of WP to create a gallery in mosaic layout that gives a carousel of images when someone clicks on the gallery.
For some posts, using Jetpack gallery module makes no sense and so, I simple insert individual images between texts using the simple media uploader.
Problem: The problem is with the posts where I do not use the Jetpack gallery module. When I click on a post, the post opens fine and shows all images in it. However, the moment I start clicking on individual images, they start giving 404 error.
Example: http://nascentarray.com/2013/02/08/tallest-buildings-of-2013/
Clicking on any image in the post will return a 404 error.
How to solve this problem? Anyone, please help me. This is so disturbing and I don't have enough technical expertise to deal with this on my own and so I can came here with a hope to find some help from experts.
The posts where you don't use jetpack image gallery module doesn't embed a gallery. Instead, you embed images in your posts individually. When you embed, there's option with image link whether you want to link image with post, attachment page, custom link or source file.
Your images are not linked to source file - instead those are linked to POST ATTACHMENT link.
Once you changed the permalinks structure of your post, the links associated with your image files were not updated and those remained as per previous permalink structure those don't exist now and thus it gives 404 error.
It's solution can be to revert your permalinks structure to previous one (short and immediate solution) and other solution can be writing a short script and update all links of images in batch with their source file or anything else.
Another solution is to use Yoast SEO plugin to generate redirect URL's for old backlinks.
See the guide in this blog post regarding this solution.
I hope this helps and you understand the issue now.
Your permalink structure is incorrect. You need to change it back to nascentarray.com/year/month/date/post-name/
If it's already that way, then you need to double check your folders in uploads. Because if you look at your one page here http://nascentarray.com/2013/06/17/stock-wallet-the-only-wallet-you-will-ever-need/
That image is linked with ../year/month/date/post_name/image_name/
i.e. http://i0.wp.com/nascentarray.com/wp-content/uploads/2013/06/stock_wallet_2.jpg?resize=389%2C176
Obviously your plugin for viewing galleries adds the extra stuff in the URL's.
Where as the link you gave above has just ../post_name/image_name/ Which isn't working with your plugin or linking of the image file.

Show a websites' latest blog post on the search results page

My main idea is that when i do a google search on my company's info, it keeps showing the latest post made. I would like to make the info the same everytime i do a google search. That will definitely show a good image of my company. I am using wordpress to run my company's website. I need some guidance on this... Thanks... Please pardon me if this is a stupid question. If there is other ways of doing this, instead of using wordpress, do tell me... Will be very happy to hear some suggestions...
This is a great question, and I think that there are a couple ways you could do it.
The first way that came to mind is to use your site's meta description on your home page. Your meta description is the 156 characters that appear in black letters underneath your site title in the search results.
If you want your meta description to be static and unchanging, just like LinkedIn, you can set your meta description without any coding knowledge using Yoast's Wordpress SEO Plugin. After you install it, edit your home page in Wordpress Admin and set the meta description to be your desired text. You can set the meta description for every page on your site, and each one will display the corresponding description in the search results.
If you want your meta description to be the latest post, you will either need to change the meta description for the homepage manually every time you write a new post, or you could write up some code to automatically generate the meta description from the first 156 characters of your latest blog post.
But, there is a second method that might work better. For an example site, I did a Google search for CSSTricks.com. Notice that it appears that Google is automatically pulling in their latest post without them having to do any hoopla with the meta description.
So, I went to CSSTricks using Google Chrome and did a right-click -> Inspect Element to view the source of the web page, to see how they were doing it. (You may need to open the below image in a new tab or save it to your computer to be able to read the code, because it is so small)
They do not have any meta description on their site, but they are using the HTML5 article tag. It appears that Google is pulling in the first p tag nested inside the article tag, and then displaying that as the black text in place of the meta description. So theoretically, if this is indeed how it works, what you need to do is write the markup of your home page so that it displays the post content using the article tag with a nested p tag, just as they have done.
Hope this helps!

Resources