The urls tag has no wiki summary.
3
votes
1answer
49 views
Removing hierarchical pages in the permalink
I have several pages set up in a hierarchy on my site. Currently the site's pages and URLs look like this.
Page name | Current URL | Preferred URL
...
0
votes
0answers
12 views
Google XML Sitemaps and WP Realtime Sitemap: problem with accessing URL “/sitemap(/)”
I created a page called "Sitemap" with a permalink of http://domain.com/subfolder/sitemap/. On this page I used [wp-realtime-sitemap].
When I try to access this page I have two different behavior:
...
0
votes
1answer
13 views
wordpress url with format .com/category/sub-category
I may be overlooking a simple answer here, but this one is stumping me. I am converting a site to wordpress. The current site has many pages whose URL has the format www.x.com/category/topic.
What I ...
1
vote
2answers
643 views
WordPress 3.4 Permalinks Redirection Problem
A few years ago this was the permalink structure I had for my blog:
/%year%/%category%/%postname%.html
I changed these permalinks last year to this:
/%category%/%postname%/%post_id%/
A plugin ...
1
vote
1answer
62 views
WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)
I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php
I've been looking at the core code and noticed that most login ...
0
votes
1answer
15 views
Update permalinks after domain change
I installed my blog in a free hosting webpage, the hosting gave me a free domain and I used that domain in my blog, then I did buy a .net domain, I changed the URL in Settings->General of my ...
0
votes
1answer
43 views
How can I insert a dynamic URL in my email template?
I'm not sure if that's even possible, but I thought I should give it a try.
I'm using WP Better Emails plugin in order to create HTML emails for my buddypress website.
I want to add to the footer an ...
0
votes
1answer
127 views
page url in shortcode
I have a problem.
I'm using a custom shortcode to try to get the url. If the shortcode is inside a post then it gets the post url. When I open the post on a category list, this post shortcode works ...
5
votes
1answer
137 views
Wordpress Permalink changes to question mark (?) in URL
My Permalink custom url is /%post_id%/%postname%/
and my website is in Persian language, for some posts the Permalink is change in URL from
...
0
votes
1answer
37 views
Author Nickname URL Friendly
Using the below code to chnage the author page url to use the "nickname". Works ok but when the nickname is more than one word it doesnt make it url friendly. Any way to do this?
add_filter( ...
1
vote
1answer
41 views
why does anchor name add a slash to url?
I am trying to do what should be some the most basic html, but it's not working for me. Here is my code:
<a name="rocket"></a>
<div>
<h3>The Title</h3>
<p>some ...
0
votes
1answer
51 views
Replace video url with video player
This is my plugin, this will replace the video shortcode format [video url="http://www.youtube.com/watch?v=sOnqjkJTMaA"][video] (Requirement is to show the video when a user placed a shortcode like ...
2
votes
3answers
307 views
User redirect to destination URL after login
Scenario: if user not login, user redirect to customize login page and redirect again to destination page after login. I don't use a function or plugin.
This code to restriction page:
if ...
-2
votes
1answer
59 views
Fetching Video From YouTube Automatically [closed]
I am using WordPress, and a theme called DeTube. Is kind of a YouTube clone, and I use this website to upload mainly videos from YouTube.
Is there anyway to fetch videos and populate all the required ...
2
votes
1answer
69 views
How to create custom taxonomy URLs without taxonomy name?
I have a website that lists businesses in different cities (this is a niche site, so all businesses have the same "classification").
For starters I created a CPT for locations and a taxonomy called ...
0
votes
1answer
50 views
Archive of custom post type returns 404 [duplicate]
I have created a custom post type "video" (see my functions.php below) and it should return an archive on mysite.com/video but instead I get a 404.
Functions.php
// Video's
add_action( 'init', ...
0
votes
1answer
30 views
How to remove the number of a comment in the url slug?
Searched through google but can't find anything related to it. Either I don't know what terms to use when searching or there's nothing about it.
I want to remove #comment-* we all know that it ...
0
votes
1answer
76 views
How to get permalinks with category base working with sub-categories
I ran into an issue with a site that needs the category base also included in the custom permalink structure. I know this is an issue and I have read many posts like this that gave me some insight...
...
0
votes
0answers
21 views
How can i do a search for tags in a certain category?
I'm trying to search for a certain category with a tag, how can I do this via url?
For example: www.example.com/?cat=1&tag=tag1
how can i achieve this using parameters in the url?
-1
votes
0answers
14 views
Adding custom filters like size , color to url in wordpress
our website address is similar to this http://example.com/wp1/ on click of filters like size:32 and color:green , my url should look like http://example.com/wp1/products/tv/32. Please suggest code ...
1
vote
1answer
1k views
“.#[random-char-string]” being inserted at end of URLs
I've seen this on a couple of sites now and I'm having trouble finding information about (probably because it's awkward to describe):
All internal URLs like this for example:
...
0
votes
1answer
429 views
Problem with parent page slug only in WordPress admin
I am using the permalink structure:
/%category%/%postname%/ in order to show my blog posts under their category in my url.
I have also installed WordPress SEO by yoast (if that helps) but I noticed ...
0
votes
0answers
28 views
Change URL of static page set as homepage
I've been on this one for a while and just cant seem to find the proper way of doing it....
I have a static page called 'digital' set as my homepage. I just want the home url to display:
...
1
vote
3answers
700 views
Custom URL parameters in template files
SETUP
I want to pull a query variable from the URL and use it on my single post template (single.php). For example: mysite.com/2011/07/29/testPost/?myvar=someValue
To do so, I added the custom query ...
2
votes
1answer
267 views
Change default from “Attachment post URL” to “File URL” in Add Media
When a user upload images, by default, the Attachment Post URL option is selected. How can I change the default to be "File URL"? If that is not possible, how can I remove the attachment post url ...
-1
votes
0answers
43 views
List custom post type URLs based on user form selection
I'd like to set up a form with dynamically populated radio buttons for all custom post types. Something like this:
custom post type 1
custom post type 2
custom post type 3
continued for all CTPs...
...
0
votes
1answer
41 views
Per Page Permalink Structure for Page Post Type
I am trying to Re-Write Page URL's so that they END with .htm
I was able to do this using...
/* Add .htm extension to Page URL Links */
add_action('init', 'htm_page_permalink', -1);
function ...
1
vote
1answer
25 views
How to use all tags in post permalinks
My site with pictures is set up so that the posts do not have a title and have only tags.
I would like to know how to use all tags in permalinks settings?
0
votes
1answer
328 views
Custom Post Types, URL rewrite on multiple CPTs
Re: Custom post types, taxonomies, and permalinks
by @TheDeadMechanic The solution above works perfectly, and rewrite is great, but can you advise on how to rewrite for more than one custom post type ...
0
votes
1answer
31 views
Prevent Wordpress from automatically correcting URLs
I notice that if I type in http://www.example.com/pag I can land on an existing page that has a name like http://www.example.com/page_five. I don't know exactly what causes this, but I want to know if ...
0
votes
1answer
30 views
Broken image URL
I seem to be having a problem with broken URL links in posts for images. If you click on the image from the post you will see the URL but if you try to then copy and paste that URL it will show as a ...
0
votes
1answer
36 views
Change the default video URL in a post to shortcode format
I want to add video from youtube/vimeo to my post.Whenever i add a video to my post ,there will display a link like https://www.youtube.com/watch?v=dsUXAEzaC3Q in my admin(Add new post ),and in the ...
2
votes
1answer
111 views
Adding another word in front of post url
I have a wordpress website with bunch of posts.
My problem is that I need to change the URLs from
website.com/post-name
to
website.com/specialword/post-name
The "specialword" is what I need to ...
16
votes
6answers
2k views
Detecting a WordPress URL without doing a full HTTP GET?
I'm trying to write a oneboxing routine that gives WordPress blog entries special treatment. So given a simple, unadorned URL in content, such as
...
3
votes
1answer
285 views
Preview Image Path in Admin Section
So I have run into a little glitch. i have a custom path for uploads and it works. the files get saved to the right place, etc. The problem I have is the 'widget box' in the admin section. immediately ...
0
votes
0answers
18 views
Change Wordpress's URL from “abc.com” to “abc.com/de”
I have a domain. Currently, the site loads at that domain's root-- abc.com-- but I want it to to load at abc.com/de because I intend for the site to later become international.
I looked already at ...
0
votes
0answers
58 views
how to set up permalinks to contain special characters
I have been trying for months to make a one page WordPress site. This site has need for a special character set in the navigation in order to work. Each page is set up in an unordered list based on ...
7
votes
4answers
4k views
What's the difference between home_url() and site_url()
My understanding is that site_url() returns the location where the wordpress core files are.
So, if my blog is hosted at http://example.com/blog then site_url() returns http://example.com/blog
But ...
0
votes
0answers
23 views
Show a dynamic page
I have created a wordpress site, ( eg:- localhost/wp_events ); And have a page localhost/calendar , this page will show a calendar with events in each date, this events loading from an api request, I ...
0
votes
0answers
25 views
How to remove the extra characters passing in the Custom post type
I have created the custom post type and the custom taxonomy. Then I have created the template file in the name of taxonomy taxonomy-product-categories. I created the post type, then added to the ...
0
votes
1answer
25 views
home_url(); showing current page instead of site address
Does anyone have an idea why my home_url() function gets the URL of the current page instead of the site address? (The site runs locally using MAMP.)
1
vote
1answer
27 views
Shortcode for a link and thumbnail
<?php
// Add Shortcode
function blog_shortcode( $atts ) {
// Attributes
extract( shortcode_atts(
array(
'id' => '',
), $atts )
);
// Code
if (has_post_thumbnail()) {
$url ...
1
vote
1answer
97 views
Get Taxonomy Term Title by it's URL
I have a URL - http://localhost/products/product-name/ and I want to use this URL to retrieve the title Product Name
This is out of loop, so the URL provided is all I have to work from. Product Name ...
0
votes
0answers
24 views
Taxonomy Sub Pages
I have a taxonomy created like so:
/products/(Product Type)
Currently that URL will redirect to my taxonomy-products.php file in my theme.
I have created two templates so when the user goes to the ...
0
votes
2answers
32 views
Post's ID pattern?
Each post has an ID and I would like to know how they were assigned. Is there a pattern? Why are the ID's not being incremented by 1 every posts? It would be easier..My ID's go from 9867, to 9869, to ...
1
vote
2answers
56 views
open all .docs in word online
Hey I'm trying to make all .doc/docx .xls/xlsx files open in office online.
This would mean that every link to a .doc
http://mywebsite.com/wp-content/uploads.link.doc
would have to instead point ...
2
votes
2answers
118 views
Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
I made a site some time ago and after some days some posts were indexed by search engines. Today I changed the permalink structure from /%postname%/ to /%category%/%postname%/.
After that, when ...
0
votes
3answers
35 views
In Settings>>General I am missing some fields
I am new to Wordpress and downloaded the 3.5.1 version from my hosting provider. I want to add www in front of my domain and I read from many sources how to do this. Go to settings then general and ...
1
vote
3answers
52 views
Linking comments from registered users to their profile pages
I am trying to find a way to link the 'username' in comments from registered and logged in users to their profile pages instead of their website URL. And comments from unregistered users to their ...
0
votes
1answer
18 views
Redirect Old wordpress url to new wordpress url
What we did was delete a category to smooth out some confusion. The old url was: http://uafnews.com/headlines/my-permalink but now it is http://uafnews.com/my-permalink. How could I have people who ...
