The urls tag has no wiki summary.
2
votes
3answers
463 views
Force home page to be https?
I have a SSL certificate and https plugin which both work fine along with changing the Settings in the Wordpress menu to https but I have to manually enter 'https' to see the Secure version, is there ...
2
votes
1answer
232 views
Custom plugin route in Wordpress
Okay so my question is quite simple. I need to implement some custom routing rules for my plugin. Those routes would only take one argument (so nothing complicated) and would look like : ...
1
vote
1answer
353 views
Request parameters in $_GET do not match URL called
I have a WP plugin which uses the request parameter "type" to determine what code-file to load in order to do some processing. The code which handles this is as follows:
add_shortcode ...
9
votes
1answer
703 views
Symbolic Links on dev box with plugins and stylesheets
I'm using mac os x 10.6 with xampp.
http://wp3.1/ is the url to where I have WordPress installed.
The physical path is /Users/myUserName/Sites/wp3.1/
I do not install plugins or themes in the ...
1
vote
0answers
32 views
menu using category and tags
I'd like to do (somehow) manual menus that would display all posts within certain category.
Eg, I'd have sections "applications" and "games" so now i can do this:
...
0
votes
2answers
244 views
Redirecting URL with Twitter Button API Not Working
I'm trying to make a Custom Twitter Button in my content.php so where it's placed at the bottom of each post and a button appears that when clicked it can send a Tweet this to Twitter with the post ...
0
votes
2answers
360 views
Get current Wordpress page then add #post ID to the end
I'm trying to find out the PHP code that will get the current URL and add a hash ID onto the end of it so a link can be generated and linked to.
The end goal is to create a link that returns: ...
0
votes
2answers
251 views
custom wordpress rewrite
I am trying custom rewrite for following url...
http://www.domain.com/lp/1
and it would be parsed using
lp.php?p=1
I have tried following...
add_action( 'init', 'aagt_rewrite_add_rewrites' );
...
0
votes
1answer
164 views
Problem with permalinks [closed]
very weird things happening to my permalinks. its showing me 404 error when i switch to permalinks then when i change to default and then back to permalinks its fine until i actually edit url to ...
0
votes
1answer
54 views
When I click a custom menu link, how do I make it update the URL in the browser to the external link?
I have created a "custom link" under Menus.
The problem is that URL in the browser retains the Wordpress URL ( http://blog.tabsonrahm.org ) instead of the linked URL ( http://tabsonrahm.org/about ). ...
1
vote
2answers
262 views
Get closest page ID from URL
Lets say on my WordPress website I navigate to:
www.example.com/media-centre/news/17/an-example-news-post
In this case I am looking at a post in a CPT called News.
What I want to do is get the ...
0
votes
1answer
163 views
Tags and Taxonomy links not working for Custom Post Types
In my theme, I registered a taxonomy by the name of tax_groups for a custom post type named custom_items.
So the following URL was returning the lastest custom_items
...
0
votes
1answer
383 views
How to manually add permalink base into htaccess file [closed]
And when I use the permalink editor to add a base, it messes up my author links.
My current url structure is www.example.com/123 (123 being post_id)
And my author URL is www.example.com/author-name ...
1
vote
1answer
56 views
How to obtain the link/URL to the feed of a custom taxonomy?
What I need to accomplish is to provide a feed link for every item in a custom taxonomy. The function get_category_feed_link only works for categories, and I don't see that tags support this either.
...
2
votes
3answers
303 views
flexible rewrite 'ramble' URLs with Wordpress
I want to access my post with id 17 like this:
http://localhost/archives/17/moot-bla-foo-ramble
In other words, the id shall decide, everything thereafter may (or may not) be the slug or anything ...
1
vote
2answers
1k views
How to add the image URL from an external RSS feed and insert into a custom field?
*Editor Note (Original title: The url from an image via custom field) changed to be more descriptive.
Hi all, Am not even sure if this can be done but...after ive been searching for the last 6 hours ...
1
vote
1answer
194 views
Wordpress custom search url
I'm trying to chang my custom search url for SEO purpose. I found an article about how to change mydomain.com/?s=query to mydomain.com/search/query. However, i prefer to have a custom search url such ...
1
vote
2answers
1k views
Add source URL from Feed WordPress (Syndication) plugin to a custom field in post editor
We're using the Feed Wordpress (Syndication) plugin to ingest external feeds resulting in posts published in WordPress.
The plugin pulls the 'source' URL from the feed. We can display the source URL ...
0
votes
1answer
52 views
How can I get rid of the the category suffix--NOT “prefix” (i.e. foo-1, foo-2, etc)
I just added a new category to my WordPress site, but the WP is adding a "-2" to the url as if there was an existing category with the same name. But there isn't. There was, but I deleted it. How can ...
0
votes
1answer
71 views
Change URL to filter posts
I am trying to understand how I can filter posts on a page simply by changing the URL.
I tried adding this just as a test - http://mydomain.com/find-work/?orderby=title&order=ASC which does not ...
0
votes
1answer
35 views
Creating additional page with own URL for each custom post
I have a specific issue here. I have website using custom post types, and I need to create a specific functionality for these custom post types. From each custom post type the user should be able to ...
0
votes
1answer
73 views
Typing local Wordpress URL works, but clicking the same link does not
Wordpress is installed locally on WAMP (win 7 x64) and the front page of my site loads fine when I type http://lc.loc. However when I click the link to this URL on the loaded page, I am taken to a DNS ...
0
votes
3answers
245 views
How to set path to the image instead of alt in media.php?
I need to modify the default gallery code, I need the alt of the image to be the path to the big image. I've modified media.php like this:
function wp_get_attachment_image(...........
'alt' => ...
0
votes
2answers
967 views
Images in sub-pages fail to load
I added a .htaccess file to a wordpress website I'm working on, to show nice urls instead of page ids.
The content of the .htaccess is this:
<IfModule mod_rewrite.c>
RewriteEngine On
...
0
votes
1answer
94 views
How can i maintain permalink structure and avoid a 404 error when loading external content?
I created a page called Catalog and also a template called page-catalog.php. The url looks like this now:
sitename.com/catalog
So far so good, however i use some custom php stuff to list products ...
4
votes
2answers
147 views
Allow admin login at /admin
I am interested in:
how can we change the default login url /wp-admin to /login
how can we add another url for login so that both /wp-admin and /login would work
I tried to use a custom filter and ...
0
votes
1answer
290 views
How do I get the author's page url from their ID?
What is the best way to get the author's page url, so http://example.com/author/user73, from their ID number?
0
votes
3answers
236 views
Wrong url in sortable column headers & pagination in the admin, when behind a proxy
Recently I changed the url of my site from atlas.site.com to site.com, one thing I just came across in the admin area for posts, custom post types, pages, where there are more than one page of posts, ...
3
votes
1answer
199 views
Limiting the number of words or characters in the slug/permalink
Limiting the number of words or characters in Wordpress slug/permalink. I would like to limit the number to the first 5 words (or 20 characters) even if the post title is longer.
example:
Title: ...
0
votes
1answer
42 views
Hook for feed creation?
I'm looking to create a function which would be called when the blog's /feed/?args... URL is requested. I've been looking at the_content_feed, would that be correct?
Also, how would I get the args in ...
0
votes
1answer
140 views
Bizarre Permalinks Issue: 404 Errors Everywhere
First and foremost, this is definitely a duplicate of the age old question of "my Wordpress permalinks are generating 404 errors", but in a way it's different because no solutions I've tried have ...
0
votes
1answer
108 views
How to get the theme directory URI?
I want to get the theme root URL with PHP. What would be the best way to do that?
There is a function called get_theme_root() which gives me the path but not the URL.
Maybe just get the current ...
0
votes
1answer
35 views
Make custom system url
Let's say my site is example.com
I want to create example.com/portfolio without creating a page.
I just want to execute some PHP code and display a bit of HTML.
Is there any way to create "sytem ...
2
votes
1answer
156 views
locate_template with multiple categories?
in this example (from Wrox book), if a single-category-$slug.php file exists, it will be shown, otherwise it's the single.php file. But if we have more than one category for each post (let's consider ...
2
votes
1answer
90 views
“Reversable” and “Re-useable” Subcategories (or other taxonomic structure)
Hope you can help a WP newbie :)
It is my understanding (and please correct me if I'm wrong!) that I cannot use the same subcategory slug in multiple parent categories, i.e. this structure is ...
0
votes
2answers
53 views
After changing the site root, how to reflect this for wp-admin too?
My website file structure is like this:
index.php
wp/wp files ...
In general in Site Address (URL) I have ...site.com
In index.php I have:
define('WP_USE_THEMES', true);
...
0
votes
5answers
1k views
A way to change image urls in post to cdn image url?
due to some reason my hosting company isn't able to fix if i use w3 total cache or w3 super cache for caching my site's sql usage keeps on peaking.... and on high spikes servers gets laggy and down ...
1
vote
1answer
505 views
Change website URL without breaking links or images? WP 3.3
I am using Wordpress 3.3.2.
Currently I am working on a website in a dev folder on my domain, dev.domain.com. Upon creating pages and blog posts, it just occurred to me that when I move the WP ...
0
votes
1answer
157 views
Wordpress permalink issue
If i try to access my wordpress page using the native url structure i.e. for instance:
www.mywebsite.com/?p=123
I am redirected to my homepage. It doesn't seem to be an htaccess issue for I tried ...
0
votes
1answer
148 views
URL Forwarding - wordpress links reverting back
Say I built a site at test.example.com, and I now have it set up so that when you arrive at example.com you really see test.example.com, my problem is all the internal links created by wordpress want ...
0
votes
1answer
167 views
Rewrite /category/cars into /topics/cars
I know there are plenty of question and posts about this out there, however I couldn't find a solution or existing thread to my specific question.
If I list my categories and click on "cars" the url ...
0
votes
1answer
63 views
How to get CGI variables?
I need to do two things:
Add a CGI variable (say filter=21) to the current query and make a link to this modified URL.
Fetch the value of CGI variable "filter".
How to do that in WordPress?
0
votes
4answers
349 views
Pagination throws 404
I'm experiencing some problems with my pagination when displaying custom post types. I would like to display 9 posts and then display a numeric pagination. This is working, some links are generated ...
0
votes
1answer
360 views
How to display content from external db with relevant urls
I am working on a website that needs to display information about electronic resources which is stored in an external database. This information will be presented three different ways (alphabetical ...
1
vote
1answer
100 views
Clean URL link for page without number
This is probably a really noob question, but I can't figure out how to change it. I've created a page called "Photos" and my url link shows:
http://mysite.com/photo-7/
What's with the -7 and how ...
0
votes
1answer
104 views
Image not showing up in media loader success area - followup
This is part two to this question:
Post Specific Uploader
I am using an upload filter to put files in a location based on post_id. Now when the file uploads, the URL path in the meta is wrong and the ...
0
votes
1answer
54 views
How can I prepopulate the URL address for the add media button
I was wondering if there is a way to get the URL address to prepopulate with my web address so I don't have to type it in every time I want to insert an image.
Example.
Click on the upload/insert ...
1
vote
1answer
191 views
Best structure / rewrite rules to achieve the following url
I have been trying to achieve the following url structure in Wordpress and maintain a level of reusability in the admin area.
It is for a client preview area and needs to reflect multiple versions of ...
1
vote
3answers
235 views
Easiest way to simulate WordPress's URL resolution to retrieve post ID, etc?
I'm curious if it is possible, in a plugin/custom code, to take an URL that has been generated by the currently running WordPress site & parse it to retrieve the $blog_id and $post_id?
ie. taking ...
0
votes
1answer
188 views
WordPress and $_GET Params
This is an odd problem that I have never run into before with WordPress.
I have a site, permalinks enabled.
The url can be http://mysite.com/page-name/?anyParamName=testing
then when I use ...