0
votes
0answers
26 views

Problems with custom post_type and custom taxonomy

I'm trying to make a simple plugin that let's me create blogposts from a custom post_type (tutorials), with it's own custom taxonomies. I got this working. There are 2 problems though. 1: I also ...
1
vote
0answers
43 views

How to remove custom post type and add category and post name

I have a custom post type called listing and taxonomy for this listing is called listing_cat. At the moment my wordpress permalinks appear in this format ...
0
votes
0answers
8 views

Random post slugs cut off from original and underscores not converted to hyphens

I am having a serious problem right now. Our business website just crashed and almost every single page has stopped working. I am in the process of restoring the backup right now but would like any ...
0
votes
0answers
44 views

Perform internal redirect in WordPress?

Let say I have an existing page named "bar", e.g. http://www.example.com/bar I want to write a plugin, which when called, will load the content exactly same as bar (not just post_content, but the ...
0
votes
1answer
34 views

How to set “with_front'=>false” to a plugin-generated cpt?

I am using an external plugin (not my own CPT) to manage events on a site where the blog permalinks structure is /news/%category%/%postname%/ Normally for CPTs I could set the prepend with front to ...
0
votes
0answers
54 views

How to programatically create a simple HTML page using the permalink of a Wordpress post?

I want a create a simple HTML page (not Wordpress Page) programmatically by using the permalink structure of another already existing post. E.g. Already existing post is ...
0
votes
0answers
46 views

Editing the permalink of image in Gallery Carousel plugin

I'm looking to edit the permalink that is displayed when an image loads when using the Gallery Carousel without Jetpack plugin (which is just forked from Jetpack). Currently it looks something like: ...
0
votes
1answer
156 views

404 not found problem with URL rewrite custom category

I have category called "us". I am trying to change link structure from : http://www.example.com/us/post-name to http://www.example.com/post-name I have inserted code in functions.php : ...
0
votes
0answers
48 views

Sharing two subdomains with a single WordPress without MultiSite

I want to have a single Wordpress installation for use of two domains e.g. http://blog.example.com for blog http://www.example.com for company pages I don't want to use multi-site setup, because ...
0
votes
0answers
69 views

How to maintain WordPress permalink structure with custom content with URL parameters?

Lets say I have posts, pages, plugins and navigation etc. from WordPress. Then I have a Video on Demand Archive now I want use WordPress (core, plugins, theme) to process and display this content. ...
0
votes
0answers
72 views

WP No Base Permalink only works with logged user (admin)

(My apologies for my poor English, I'm french) I just want to have a shorty URL for all page of my WP Site: www.example.com/wordpress-answers-is-a-good-site for my posts insteads of ...
0
votes
0answers
114 views

WooCommerce get query string problem with permalink

i using WooeCommerce for my site. This is my custom loop product in woocommerce.php located in my theme folder: if(isset($_GET['product_cat'])){ // list products by category } When permalink set ...
0
votes
0answers
130 views

Change permalink based on post category

I am looking for a way to change the permalink structure based on the category a post is in. If the post is in the "blog" category I would like the permalink to be /blog/%postname%/ and if it is any ...
0
votes
1answer
69 views

WooCommerce product permalinks

How can I do to have my product links as mysite.com/name-of-my-product? I tried the WooCommerce options but I can't remove the base string before the product`s name from the url structure. Thanks
1
vote
1answer
278 views

add category name to permalinks on product page /category-name/product-name

I'm trying to reconfigure the permalinks used in WooCommerce such that the following format will be displayed: homesite/category/product. Right now, the permalinks only shows under a category page: ...
0
votes
1answer
39 views

Custom post type 404 error on “default” or “numeric” permalinks

I wrote a plugin for WP.org that uses a custom post type with the slug "reading-list" and I cannot view mysite.com/reading-list/ when I have either the "default" or "numeric" permalinks setting in ...
0
votes
1answer
97 views

Unwanted Links and Spam Wordpress Pages and Posts

In webmaster tools I have a number of crawling errors of the Google spider. for example http://mydomain.com/my-page/de/roulette.html They say they cannot crawl to this page.. but what kind of page ...
1
vote
1answer
205 views

Publish Post After Click On A Link

I have a frontend posting form (CF7), where user inputs (among other data of course) his email. Now I set the status to pending. What I want is, that the user would get trough autoresponder a mail, ...
1
vote
2answers
573 views

Prevent page slug from interfering with custom post type archive permalink?

In my plugin, I'm creating a custom post type that has an archive and uses the rewrite parameter to choose a slug: $args = array ( 'public' => true, 'has_archive' => true, 'rewrite' ...
1
vote
0answers
90 views

Using arbitrary paths in page urls

I have been looking all over the place and maybe I'm just searching the wrong terminology but I need to be able to allow an end user (completely non-technical) to add an arbitrary path to the url ...
0
votes
2answers
434 views

“Custom Post Type Permalinks” plugin URL strcuture

I've found this great plugin Custom Post Type Permalinks by a Japenese developer which is awesome at generating hierarchical permalink structures for Custom Post Types. Only I'm having an issue which ...
0
votes
1answer
280 views

How to add nofollow on all external links without plugin?

I have tried many plugins, which are doing the thing I want, but they are blocking my other plugins (1 in particular, which is indispensable for my site). Anyhow; how can I add a nofollow on all my ...
0
votes
0answers
33 views

homepage olderposts link showing page not found

I am using WordPress 3.5.1 version, now I had a problem with olderposts link present at bottom of homepage. it is ok with rest of the category pages. I am working on this problem since last two days, ...
2
votes
2answers
367 views

Social sharing post's shortlink instead of permalink

Is there a way to force a social sharing plugin to use the shortlink each of my WP posts automatically gets (YOURLS service in my case) to pass to the social service the visitor clicked, instead of ...
0
votes
0answers
14 views

Preventing collisions between permalinks and subdirectories [duplicate]

I've deployed a WordPress installation on the root of my site. This site also has a few subdirectories that should remain accessible, such as /somefolder/. I've configured WordPress to use ...
1
vote
1answer
473 views

resetting permalinks after changing page names

After a lengthy staging time, many page categories, pages within pages, need to be retitled. This made a mess of my link structure and now I'm having a real hard time try to figure out how to reset ...
0
votes
2answers
79 views

How to embed a new string in url?

I am creating a custom tours and travel theme in which I have created custom post type Cities, Locations, Destinations and i am using custom permalink structure. /%category%/%postname%/ So now I want ...
1
vote
0answers
214 views

Filtering get_permalink in Jetpack / ShareDaddy

I recently changed my permalink structure from /YYYY/MM/%post_name%/ to /%post_name%/, and lost my tweet counts and likes (provided by Jetpack) in the process. To fix this, I want Jetpack to use the ...
1
vote
2answers
483 views

Custom Permalink Plugin and Current Page/Ancestor in Menus

I'm looking for a custom permalink plugin that is able to interact with menu classes. For instance, I have a menu that includes the parent website.com/shop as one of its list items. If a page, say ...
0
votes
2answers
62 views

How to get the permanent link in a plugin?

I'm writing a plugin to add some extra contents that contain the permanent link to the (single) post. function abcd_add_contents($content) { $extra_content = the_permalink(); if ...
-1
votes
2answers
1k views

How to improve WordPress security by hiding non public facing files?

e.g. curl -I http://ma.tt/blog/wp-config.php 200 OK The wp-config.php is not public facing file, since it currently just return blank page, so why not return 404 instead. (so will not be cached by ...
1
vote
3answers
2k views

How to call a plugin function from index.php [closed]

I have created a function in my plugin myplugin with the name foo, how to call it from the frontend? e.g. index.php?
0
votes
1answer
29 views

This Wordpress plugin isn't creating links correctly

To get my PHP and Wordpress skills, I've been trying to code a small plugin a day. Today's project was to create a plugin that searched over every word in my posts, checked if ...
0
votes
2answers
440 views

Make get_permalink() work outside the Loop using filters

I am developing a plugin which displays a wordpress post in a lightbox outside the loop. I noticed that some plugin which modify the contents of the post (like Facebook Like button plugin) use the ...
1
vote
1answer
118 views

plugin links not working [closed]

I'm developing a plugin with the latest version of WordPress (3.4.2) locally (XAMPP 1.7.7 [PHP: 5.3.8]) and for some reason the links are not working within the plugin. I just have a simple delete ...
1
vote
2answers
348 views

How to get the permalink of a page when loading my plugin

I'm implementing a web widget and for this reason i'd like my script to respond to the request as soon as possible, to avoid loading unneccessary thing. I've found out that calling get_permalink( ...
1
vote
1answer
362 views

Change post permalink to external URL from custom field

I want to let my users submit links to my website something like reddit and digg. I added a meta_key 'syndication_permalink' which contains link to this post. How could I change the post permalink to ...
0
votes
1answer
85 views

Permalinks break every day

I have critical problem! My Wordpress Blog has the permalink structure /%category%/%postname%/. The problem is that very often the permalinks break so I get a lot of 404-Errors. I can fix it ...
0
votes
1answer
105 views

Plugin generated taxonomies' permalinks with custom placeholders

I have a problem with permalinks for custom taxonomies generated with Types http://wordpress.org/extend/plugins/types/, a plugin for creating taxonomies, custom posts and custom fields. The problem ...
2
votes
2answers
9k views

WooCommerce permalinks [closed]

I got the following question: When I go to a WooCommerce category, the link displays like this: http://www.example.com/product-category/category/ Where the bold text is the link like it is and the ...
0
votes
1answer
177 views

Plugin for TinyMCE to create reference to other posts

Is there any plugin that would allow me to easily insert reference to another post for TinyMCE? I want to be able to reference another post by permalink and the link text to be the title of the post. ...
0
votes
1answer
3k views

Permalinks and pagination are not working in WordPress with WP e-Commerce plugin

I am running WordPress 3.2.1. and WP e-Commerce 3.8.7.2. The problems I am having are: If the permalinks are set to default (example.com/?p=123) the e-Commerce plugin works ok except when I turn on ...
6
votes
1answer
130 views

Rewriting every url

I have a question regarding permalinks and rewriting url's. I am writing a translation plugin and I would like to add the language shortcode in my url (Something like ...
0
votes
2answers
588 views

rewrite_rules() not applying rules on plugin activation only after permalinks menu is clicked

thanks to Roman for pointing me in the right direction my plugin is almost ready. The only problem i am now facing is that i cannot get the rewrite_rules applying on activation they only work after i ...
-1
votes
1answer
105 views

Does anyone have the Custom Post Permalinks plugin from John P. Bloch? [closed]

Can you upload it somewhere or send to my email?
1
vote
2answers
858 views

How do I customize my WordPress shortlink structure in link-template.php without a plugin?

Right now my shortlink structure looks something like this: example.com/?p=451 I would prefer it to look more like this: example.com/abc123 Any ideas how I can alter the code to do just this?
1
vote
1answer
123 views

Plugin Appends ugly url string to index

A custom background plugin has started to cause certain browsers (FF, IE8,9, Safari) to reveal an appended url string when viewing the index page: http://dearearth.net - this mostly shows when not ...
0
votes
1answer
304 views

help intercepting save_post through plugin

I use stackoverflow very often and just found out in google about this one, Nice :D Well, i want to save my every post i write from wordpress to my 3rd (OEXChangeble) website aswell at the same time, ...
1
vote
1answer
347 views

Append varible to url or set session

I just wrote a little plugin that detects if the user is on a mobile browser and if so detects them away from the WordPress site to a mobile (simple) version of part of the site. As I got to ...
1
vote
1answer
295 views

Creating Search Engine Friendly URL's with Word Press

I own a website barrelandblade.com which was developed by a non SEO enlightened developer. I recently had the FV All in One SEO Pack installed as my site does not show up in the search engines at all. ...