0
votes
0answers
37 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
28 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
93 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
39 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
62 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
57 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
99 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
86 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
65 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
186 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
0answers
31 views

Permalink Settings for Custom Post Type

I have a plugin that creates a custom post type. I am able to control the rewite rules and have also created a plugin settings for the archive url and taxonomy urls slugs. However if a user enter ...
0
votes
1answer
35 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
72 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
181 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
471 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
78 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
352 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
235 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
31 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, ...
1
vote
2answers
291 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
388 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
77 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
192 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
425 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
60 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
928 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
1k views

How to call a plugin function from index.php

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
401 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
112 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
297 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
277 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
82 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
98 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
8k 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
170 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
124 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
516 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
788 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
122 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
299 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
341 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
293 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. ...
0
votes
3answers
827 views

Change Permalinks Structure to a Sequential Number for Each Post?

I've just created a draft on my blog, and it's post ID is 1. After creating another draft, the post id for this last post is 3! I was hoping to see them in sequential order, so in the future I'll have ...