Tag Info

Hot answers tagged

5

Any reasons you couldn't put an anchor link to the actual page in your tab control? Then use jQuery to make sure it returns false and doesn't "work" for normal visitors. In fact, that's what the jQuery Tabs control page suggests: Tabs supports loading tab content via Ajax in an unobtrusive manner. The HTML you need is slightly different from the one that ...


3

When you hear about SEO-friendliness of CMS it is essentially same as for static page - how URL looks and what gets into source of page. Essentially WP is considered SEO-friendly because: It is easy to get pretty permalinks enabled and working There is large choice of themes and plugins, aimed at following recommended SEO guidelines (titles, meta tags, ...


3

WordPress › Relevanssi - A Better Search « WordPress Plugins Key features: Search results sorted in the order of relevance, not by date. Fuzzy matching: match partial words, if complete words don't match. Find documents matching either just one search term (OR query) or require all words to appear (AND query). Search for phrases with quotes, for example ...


2

Really depends on how your redirects are set up. But you can check the status code using Firebug (or a comparable tool with a request profiler). Open up the "net" tab in firebug, and hit one of your old URLs. You should** see the request show up at the top of the list, and you'll see the response code in the "status" column. If your redirects are working ...


2

Yes, it does. Here's a simplified listing of the server responses I get after wget-ing a freshly installed copy of WordPress (with permalinks activated). $ wget -S http://example.com/blog/?p=58 Connecting to example.com (example.com)|xxx.xxx.xxx.xx|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 301 Moved Permanently Date: Fri, 25 ...


2

How about something like this on your functions.php: add_action('wp_head', 'no_robots_on_uncategorized_posts'); function no_robots_on_uncategorized_posts() { if(in_category('uncategorized')) { wp_no_robots(); } } This will output the following line of code on the header of your 'uncategorized' posts: <meta name='robots' ...


2

The basic problem for a script solution is: rel_canonical does not offer any useful filter. So we have to replace that function: remove_action( 'wp_head', 'rel_canonical' ); add_action( 'wp_head', 't5_canonical_subpages' ); The next problem: $GLOBALS['numpages'] is empty before setup_postdata(). We could call that function already here, but it might have ...


2

How exactly are you setting up your home page? I think the problem is with it having unwanted pagination in first place and not that pagination being indexed. In general robots.txt file is good way to prevent indexing in bulk. I think it would be following directive in your case (please test it so it doesn't affec pagination in other places): User-agent: * ...


1

The easiest way to see if W3 Total Cache is the cause would be to disable the plugin and see if that fixes the issue. But what you're seeing is an unfiltered post. Usually, the content of the post is passed through the_content filter, and those shortcodes are replaced. Something in your search results is skipping this. It could be that you're getting ...


1

There are a lot of a posts written about this, and it took me a while to figure out a solution. Google Custom Search is a great solution - if you have a google account (which you can easily get if you don't), a basic understanding of wordpress themes, and some php. http://www.chipwreck.de/blog/2010/01/22/how-to-google-custom-search-wordpress/ If you don't ...


1

There are two places bots would look: your sitemap (if you submitted one to google), and your robots.txt. WordPress itself doesn't put anything in robots.txt (unless you set your site to private, then it tells the bots not to index anything), nor does it create xml sitemaps that google would use. There are a few plugins that will do this for you, though. I ...


1

I just ran a test on my hosted dev site. I ran the following: echo '<pre>'; global $wpdb; print_r($wpdb); print_r($GLOBALS); echo '</pre>'; There was no 'wp_query', '[q]', or 'search' variables to be found. Note that I was not able to search this through a search engine as it's not web accessible. Just to give you a little more, here is the ...


1

Try an SEO or meta tag plugin that will give you the most options to work with meta for the home page, for post pages, static pages, etc. It's not enough to simply add one metatag to the header template. http://wordpress.org/extend/plugins/search.php?q=SEO&sort=


1

It's actually not an issue at all, it works just like it's supposed to, be sure to submit the index sitemap though, not the individual ones, so submit sitemap_index.xml. See this screenshot for reference to show that it works:


1

To search for a custom post type , you can add to the query &post_type=events , to achieve this just edit your form like this <form id="searchform" action="http://localhost:8888/ltc" method="get"> <input class="inlineSearch" type="text" name="s" value="Enter a keyword" onblur="if (this.value == '') {this.value = 'Enter a keyword';}" ...


1

Search engines SHOULD respect the industry standard robots.txt file which you could use to block access to a post type. Such as blocking access to anything under example.com/deals. You could also go above and beyond and check the $_SERVER['HTTP_USER_AGENT'] for bots. Something like: $bot_list = array("Teoma", "alexa", "froogle", "Gigabot", "inktomi", ...



Only top voted, non community-wiki answers of a minimum length are eligible