seo

Query string parameter names for SEO

旧时模样 提交于 2019-12-07 05:23:37
问题 If I have a website like: google.com/index.html?c=123123&p=shoes Will it be better for SEO to have it as: google.com/index.html?code=123123&footwear=shoes I mean, does giving useful names to query string parameters help SEO? 回答1: Yes query string could help Google to understand the meaning of the page. What is important with query string that you display unique content when changing the value of a parameter. Example: google.com/index.html?code=123123&footwear=shoes google.com/index.html?code

Replace umlaute (äüö) for SEO link in rails - best way

时光毁灭记忆、已成空白 提交于 2019-12-07 04:58:56
问题 I'm using the permalink_fu plugin to create permalinks from titles. My problem is: If the title contains german characters, they are just replaced with '_'. What I need is something that replaces ä with ae ü with ue ö with oe I fount String.tr but the problem here is that it replaces 1 character with 1 replacement, so it would work for replacing é with e ø with o etc. Does anyone have a nice and clean solution for that? Thanks 回答1: Use String.gsub(): "ich bin doch nicht blöd, mann!".gsub(/

Impact of multilingual URLs on SEO [closed]

笑着哭i 提交于 2019-12-07 04:54:42
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 9 years ago . Do I need to use multilanguage in my URLs? For example: http://mygermanwebsite.example/product/foo http://mygermanwebsite.example/produkte/ Does that have any effect on Google searches? For example I'm searching for "produkte", will both versions have the same ranks on Google searches? 回答1: It will improve your

Creating yii2 dynamic pages with url: www.example.com/pageName

心不动则不痛 提交于 2019-12-07 04:40:56
问题 In my system, users need to have their profile pages. It is requested from me that these pages will be displayed in url like this: www.example.com/John-Doe www.example.com/Mary-Smith How to achieve these URLs in yii2 ? These John-Doe and Mary-Smith can be user usernames or profile names. For example I have field in user table called "name" and it will hold names "John Doe", "Mary Smith". Pay attention that I need SEO friendly URLs with "-" instead of blank spaces. URLs like this: www.example

HTTP response headers: multiple Link values

半城伤御伤魂 提交于 2019-12-07 02:05:35
问题 I'm working on SEO for a Rails App. The website is fully localized, and I'm following this google article to add hreflang alternate links to the pages. The HTML links in the <head> are ok. I'm having some troubles with the response headers. I understand that I'm supposed to provide values for each alternative version of the page, but I'm not sure about how to set multiple values. I tried to pass them as a comma separated list . Browsers seem to receive it correctly, but since individual

SEO Friendly URL to Dynamic Arabic Category URL using PHP

谁说胖子不能爱 提交于 2019-12-07 01:16:32
Currently I have a url like this domain/index.php?cat=مال_وأعمال I want to set things up so that our Marketing people can publish url's like domain/مال_وأعمال I've tried several solutions including: mod_rewrite - the problem with this approach is that it becomes a huge .htaccess file since we need to write a rule for each category. RewriteMap - this came pretty close since I could query the database to build map file for output. However, I've since learned we don't have access to httpd.conf. index.php - I've tried running everything through our index.php file which works, but doesn't keep the

opencart seo url rewriting

大城市里の小女人 提交于 2019-12-07 00:10:48
I've successfully managed to get SEO URLs to work in opencart and have also managed to tweak the standard SEO URL file to incorporate other custom URLs. The one i am having trouble with relates to a blog that I've set up. The table for the blog entries has an SEO keyword column for each respective entry. The current URL comes up as http://www.imbued.co.uk/blog?news_id=5 with 5 being the 5th blog entry. I would rather the URL was cleaner such as http://www.imbued.co.uk/blog/seokeywordfromthetable Can the SEO URL file below be tweaked for it to come as such? <?php class ControllerCommonSeoUrl

SEO Friendly links, js and/or php stripping

怎甘沉沦 提交于 2019-12-06 23:11:29
I have seen this being done on the wordpress and i dont have access to word press :) but i need to return a url string removing any non valid characters from it and converting some characters into appropriate characters :) e.g. 1+ characters should be converted (of the following) [space] = [dash] (1 dash) >>> (-) [underscore] = [dash] (1 dash) >>> (-) $str = 'Hello WORLD this is a bad string'; $str = convert_str_to_url($str); //output//NOTE: caps have are lowercase :) //hello-world-bad-string and remove common and senseless words such as "the","a","in" etccc at least point me on the right

Is there anyway of making json data readable by a Google spider?

风格不统一 提交于 2019-12-06 22:20:29
问题 Is it possible to make JSON data readable by a Google spider? Say for instance that I have a JSON feed that contains the data for an e-commerce site. This JSON data is used to populate a human-readable page in the users browser. (I.E. The translation from JSON data to human displayed page is done inside the users browser; not my choice, just what I've been given to work with, its an old legacy CGI application and not an actual server-side scripting language.) My concern here is that, the

SEO URL based on category name without have a category id in URL

末鹿安然 提交于 2019-12-06 21:56:28
I have two table posts & categories post_id | post_title | post_content | post_cat -------------------------------------------------- 1 Hello World welcome to my.. 1 . .. .. .. categories table cat_id | cat_name | cat_parent ----------------------------- 1 News NULL 2 Sports 1 . ... .. Let's say current category link for news is http://domain.com/category/1/ MySQL statment SELECT posts.post_id, posts.post_id, posts.post_title, posts.post_content, posts.post_cat, categories.cat_id, categories.cat_name, categories.cat_parent FROM posts INNER JOIN categories ON posts.post_cat = categories.cat_id