Questions tagged [seo]

Search engine optimization (SEO) is the process of improving the visibility of a website or a web page in a search engine's "natural" or un-paid ("organic") search results. In general, the earlier (or higher ranked on the search results page), and more frequently a site appears in the search results list, the more visitors it will receive from the search engine's users.

Filter by
Sorted by
Tagged with
28 votes
4 answers
25k views

Is sanitize_title enough to generate post slugs?

I want to generate slug for some strings without going through WordPress slug generation flow. Therefore, I want to know which functions it calls to get a neat slug. I tried sanitize_title() but it ...
a_fan's user avatar
  • 945
27 votes
7 answers
80k views

How Do I Set the Page Title Dynamically?

Is it possible to change the page title with code? For example, let's say the page's name is "Book your Order", but I want to change it to "Book Order #123". I Google'd a bit and looked here and ...
Alex Cook's user avatar
  • 567
16 votes
2 answers
40k views

Add <meta> tags to the <head> section via functions.php

I've got a custom theme I've developed and it's basically a 4 page brochure site for a client and I've managed to do away with a few plugins by building in custom-post-types, gzipping via .htaccess ...
pjk_ok's user avatar
  • 888
9 votes
1 answer
12k views

Can YOAST SEO fields be removed from custom post type [duplicate]

The Yoast SEO plugin is great, but it seems to appear in more places then wanted (columns, custom post type pages, etc.). I want to remove this option because as it stands even when I ignore the ...
Xtremefaith's user avatar
9 votes
2 answers
58k views

Adding meta tag without plugin

Is it possible to add meta title, meta description, meta keywords in every page without installing plugin? My client require not to install plugin. I am curious about this case, all I know is the ...
Janine Consolas's user avatar
9 votes
3 answers
2k views

What is the best permalink structure for SEO?

In the past I've used the Day and Name or Month and Name settings. Should the date structure be omitted and just have /%postname%/ ? Ie does having the date information reduce the quality of the url?...
nevster's user avatar
  • 243
8 votes
1 answer
4k views

How to remove dates from existing permalinks?

After doing some research about dates on blogs, it seems like it is a good idea to remove them from the existing posts. Consider: Self-hosted (on Bluehost) Over 1,000 existing posts All posts are ...
B Seven's user avatar
  • 281
7 votes
4 answers
9k views

Robots.txt not updating

When I try to google search my web address, the follow comes up as the meta description "A description for this result is not available because of this site's robots.txt – learn more." The ...
Confused's user avatar
7 votes
2 answers
4k views

Multiple post categories - single permalink

I created a post which is assigned to multiple categories. Eg: I have a post "My Post", and I put it in "foo" and "bar" categories. Now my article will have two permalinks, "/foo/my-post" and "/bar/...
NETCreator Hosting - WebDesign's user avatar
7 votes
1 answer
876 views

Custom Post Types, slug, archive and SEO plugins

I made a custom post type called "friends". I am able to correctly list my friends using this urls: http://mysite/friends/friend1/ http://mysite/friends/friend2/ http://mysite/friends/friend3/ ...
Marcello's user avatar
6 votes
3 answers
13k views

Adding rel="next" & rel="prev" for paginated archives

Does someone perhaps know a plugin or snippet (besides Yoast's WordPress SEO) to accomplish this perhaps? Pagination with rel=“next” and rel=“prev” The only thing I've come across seems to be an 3-...
user avatar
6 votes
2 answers
2k views

NoFollow Entire Website

By default whenever you disable indexing via Admin Settings [ x ] Discourage search engines from indexing this site It adds a meta tag in the header like so: <meta name='robots' content='...
Howdy_McGee's user avatar
  • 20.3k
6 votes
3 answers
5k views

Filtering categories in the permalink structure

Using /%category%/%postname%/ for the permalink I get a URL string of all the categories that the specific post is included in. I would like the categories in the url to be filtered down to only one ...
pax's user avatar
  • 623
6 votes
1 answer
2k views

Rewrite URL - how to do a SEO-friendly Unicode custom URL?

After a major load of 404 with some category and tag URL, I questioned on StackOverflow about my WordPress blog. My blog is in Unicode Bānglā. After a nice anatomy on the fact in Facebook1 with some ...
Mayeenul Islam's user avatar
5 votes
3 answers
388 views

Should a SEO plugin be necessary? [closed]

I'm using the All in One SEO plugin for my site. The extra fields and options it supplies seem like they could be handled via a theme, possibly negating the use for a plugin. Should SEO ...
Grant Palin's user avatar
  • 1,039
5 votes
3 answers
8k views

Creating 301 Redirects for Post, Page, Category and Image URLs?

I fear this may be too much to ask here, so if so, please feel free to tell me of another place to learn. Help with Redirections I'm cleaning up a badly developed site and migrating wordpress from a ...
user avatar
5 votes
2 answers
397 views

Minimal custom permalink structure

I'm aware that there are posts discussing this issue already (e.g. What is the best permalink structure for SEO?) but I have a specific set of requirements according to my wordpress site structure, ...
Bobby Jack's user avatar
  • 1,252
5 votes
2 answers
7k views

Why should I use "Organize my uploads into month- and year-based folders" option? (Cons/Pros)

What is the benefit of using (advantage/disadvantage) Organize my uploads into month- and year-based folders option? Why would I want to organize my folder structure like this ? Is there SEO ...
HOY's user avatar
  • 291
5 votes
2 answers
509 views

How do I set up a custom URL shortener for my posts?

I have several different sites running off WordPress, and the URLs tend to get fairly long and cumbersome (particularly when I try to publish them via Twitter). I recently purchased a very short ...
EAMann's user avatar
  • 31.8k
5 votes
1 answer
2k views

Link section within page with slash (/) and not hash (#) without reloading the page

So here is a requirement: Client wants a page template where there is two level menu on left side of the page. That menu can link to any page, post, category or a section within same page. The menu ...
Prasad Nevase's user avatar
4 votes
3 answers
1k views

How are plugins in the WordPress plugin directory ranked?

When searching the plugin directory on wordpress.org how are the results ranked? It seems the main components are number of downloads and rating, or is there actually a full blown algorithm behind it ...
user1721135's user avatar
4 votes
2 answers
6k views

How do I turn off 301 redirecting posts (not canonical)?

I noticed a strange behavior in WordPress where it automatically 301 redirects certain URL structures for posts. For example, I have a post entry for: mysite.com/999/about-us Then, you would think ...
Alex Cook's user avatar
  • 567
4 votes
2 answers
6k views

Multiple Domain Names - One WP Install (non-Multisite) - Default Each Domain name to Category Archive

Use case is somewhat simple - here goes: Five people share a single wordpress install - not multi-user Each person blogs and puts their posts in a their own unique category Each person has their ...
aj martin's user avatar
4 votes
1 answer
77 views

WordPress custom taxonomy URL rewrite on spelling errors

I have found myself in a situation which I would like to understand and ultimately fix. We have custom post types and for them, custom taxonomies. Everything is working fine. URLs a generated right. ...
macstens's user avatar
4 votes
1 answer
146 views

Pretty Permalinks

I've created my own search functionality which basically finds the nearest store closest to the entered postal code. My URL for the search currently looks like this http://www.example.com/stores?...
Codarz360's user avatar
  • 143
3 votes
2 answers
1k views

Redirecting traffic from old ".WordPress.com" blog to privately hosted WordPress blog?

I've got a blog hosted on .wordpress.com, ie the free version. I'm thinking of re-activating my hosting package so I can have my own WP installation, and therefore have more customisation options ...
user155695's user avatar
3 votes
1 answer
7k views

Inserting Post Using wp_insert_post. How to Fill Yoast Plugin SEO Fields

I am inserting posts into a database using wp_insert_post function once the post is inserted using below line of PHP $postId = wp_insert_post($array) I can insert values in my advanced custom fields ...
Sourabh Modi's user avatar
3 votes
3 answers
7k views

Current post's author name in the author meta tag

I am trying to add the current post's author as the content for the meta author tag. I wrapped this particular meta in an is_single condition and then tried: <meta name="author" content=&...
AndrewL64's user avatar
  • 203
3 votes
2 answers
1k views

Are Categories, Tags and Custom Taxonomies any different in regards to SEO?

Simple question, really. I know pretty much nothing about SEO, and i'm trying to define a good structure for this clients online magazine. I already know i'll be using a few custom taxonomies along ...
moraleida's user avatar
  • 2,225
3 votes
3 answers
5k views

How can I move/redirect single blog posts from one blog to another?

I see lots of answers about moving entire blogs, but here's my scenario: I have a few blogs with a lot of content. I'm no longer publishing new content on these sites. I'm now publishing on another ...
ahockley's user avatar
  • 191
3 votes
2 answers
1k views

Remove year and month in URL using .htaccess

For example, to redirect old URLs of the form: /2016/10/mukunda-murari-kannada-songs-download.html To /mukunda-murari-kannada-songs-download.html I have already changed the permalink structure in ...
newkannada's user avatar
3 votes
2 answers
47 views

Does the 'WordPress Order' feature, within the WordPress Dashboard, have any impact on site architecture?

As you can see, within the image below, WordPress offers us to numerically arrange our Pages via a feature entitled 'Order'. I have been using this as a means to help organise my Pages, for my own ...
Craig's user avatar
  • 358
3 votes
1 answer
311 views

Best Way to Leverage Custom Post Type Related Content and Consider SEO

I'm doing a real estate project for a client. I've created a custom post type called "communities" to list new construction communities in her area. I also want to have deeper sub pages but I would ...
jw60660's user avatar
  • 1,496
3 votes
0 answers
92 views

Add image tags to native WordPress XML Sitemaps

I would like to add image tags into my sitemap posts: <image:image> <image:loc> <![CDATA[ https://example.com/image.jpg ]]> </image:loc> <image:caption> <![CDATA[ ...
Pbinder's user avatar
  • 149
2 votes
2 answers
5k views

Why does do_robots() Allow: /wp-admin/admin-ajax.php by default?

This is happening with a fresh, new WordPress install. But all you need to do is look at the crazy do_robots() function, which outputs the following... User-agent: * Disallow: /wp-admin/ Allow: /wp-...
PJ Brunet's user avatar
  • 490
2 votes
5 answers
15k views

How to change title tags on paginated posts?

I've created many post with multiple pages with the nextpage-tag. The problem is that these show up as errors in "Google Webmaster Tools" because of duplicate title tags and meta descriptions. The ...
Eddie's user avatar
  • 21
2 votes
2 answers
4k views

add post content in meta description in yoast

How can I add post content in meta description via Title & Metas? I have seen excerpt variable %%excerpt%% but it will give only excerpt but I want whole content in meta description. Can any one ...
Girish Bhutiya's user avatar
2 votes
2 answers
8k views

Change the Permalink for wordpress attachment

My attachments are currently rewritten from http://localhost/?attachment_id=3 to http://localhost/images/image-title using @Bainternet's answer here. $new_rules['images/(\d*)$'] = 'index.php?...
csi's user avatar
  • 377
2 votes
4 answers
492 views

Migrating from other CMS to WP - losing SEO juice?

I'm thinking about migrating a client's website from a super-old cms (xoops) to WP. However the site is quite old so I don't want him to lose any SEO juice he acquired through the years (PR: 2). ...
ernesto50's user avatar
2 votes
1 answer
1k views

How to make ajax content indexable by search engines?

What's the best practice for exposing ajax delivered content within WordPress to ensure that it's indexable by Google, etc.? I've got a site where I am using the jQuery tabs control to display ...
Dave Konopka's user avatar
2 votes
3 answers
307 views

Blog not indexed [closed]

my blog is 6 months old, with frequently updated content. Yet, not a single page is indexed by Google. Why is that so? isn't wordpress set up for SEO by default?
user avatar
2 votes
1 answer
5k views

SEO meta description and title tag Yoast SEO

I am using Yoast SEO and a custom header. this obv means that any code that yoast uses to input all the seo stuff such as title tag and meta description wont be there. I solved the title tag by ...
RSM's user avatar
  • 47
2 votes
2 answers
72 views

WordPress web page struggling with performance

I have some experience with building wordpress pages but me and my friend are starting an e-shop, we wanted to have everything perfect without any bugs and problems so we decided to hire a freelancer. ...
GreenStuff's user avatar
2 votes
1 answer
218 views

Is <title> tag default in WordPress?

This may be a stupid questions but I have been building some themes. Some of them doesn't include the <title> in the head and some of the theme include it. I belive some SEO plugin can add <...
Aftar Fadilah's user avatar
2 votes
2 answers
173 views

Block comments from search engine indexing

I remember there used to be an option on WordPress to block comments from search engine indexing. I can't find it anywhere, though. Does anyone have suggestions or alternatives? Thanks.
AAA's user avatar
  • 123
2 votes
3 answers
1k views

SEO - Two WordPress websites on same domain name

Would there be any negative SEO effects for having a wordpress website at example.com and having another website at example.com/anothersite? Would the site "anothersite" be indexed in search engines (...
Jeff's user avatar
  • 87
2 votes
1 answer
1k views

Change sidebar headers from H1?

My theme uses H1 tags without much thought, including the site name at the top of each page and each of the sidebar menu titles. I checked the sidebar.php file in my themes folder, but there is no ...
Aidan Knight's user avatar
2 votes
4 answers
7k views

Remove date from Google Search Results Description

How do I remove the date from the google search results of my posts? Is this related to WordPress or is it theme-specific?
JoaMika's user avatar
  • 650
2 votes
1 answer
3k views

What does it mean by "Home page / Archives" in JetPack Site Stats? [closed]

In the JetPack SiteStats, on the "Top Posts & Pages" the first page or link got most views (8) is the Home page / Archives. What does it actually denote? JetPack support says: Top Posts & ...
Mayeenul Islam's user avatar
2 votes
1 answer
211 views

How to let crawlers search paginated comments?

With comment pagination, Google doesn't index the older pages and comments become essentially lost to searches. Is there a way to let search engines crawl paginated comments, perhaps by generating a ...
w00t's user avatar
  • 123

1
2 3 4 5
9