A uniform resource locator, abbreviated URL, also known as web address, is a specific character string that constitutes a reference to a resource.

learn more… | top users | synonyms (1)

1
vote
1answer
577 views

Open Wordpress 'Add New Post' admin page with parameters set via $_GET

I want to launch my web browser from an automation tool I use and open Wordpress "Add Nwe Post" page in the admin area with specific title and content (it varies everytime, I generate it dynamically ...
1
vote
1answer
213 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
1answer
595 views

Permalink doesn't get displayed in Twitter button (Local WordPress problem?)

I'm trying to add a custom "Tweet this" button to my WordPress posts. I'm sticking to the official Twitter guidelines. Here is what I'm actually trying to pull of; I don't want the button, I want a ...
1
vote
1answer
244 views

Query two taxonomies via URL or link?

I've been banging my head about this, and have created a work-around, but it would be much nicer for my site's organisation if I could figure this out. I want to be able to query posts across two ...
1
vote
0answers
55 views

Entities in URL… why? [closed]

A user creates a post with the following url: http://mysite.com/entry/we’re-here/ However, my text editor converts it to this automatically (I'm using the url somewhere else in a cut and paste): ...
1
vote
0answers
304 views

How to move wordpress blog under IIS 7 sub-folder [closed]

I have installed wordpress under wwwroot/mydomain.com/wordpress and bind it to mydomain.com port 80 under IIS 7. Then I change to bind wwwroot/mydomain.com to mydomain.com instead and change site ...
1
vote
2answers
977 views

How to add URL-Parameter for Javascript Widgets?

I need to add pamarameters to URLs that are read by javascript widgest/gadgets run on the site. Whenever I just add them e.g. the original URL is http://example.com/blog/page/ and the parameter is ...
1
vote
1answer
60 views

URL / Templating system advice [closed]

I am trying to set up my blog so that the following URL pattern: http://myblog.com/category/somecategory/ Will use the template file category.php I have created the template, however, when I ...
0
votes
2answers
4k views

Moving wp-content outside of web root?

Is it possible to move the entire wp-content folder outside of the Web root? I need to prevent anyone to view any asset file (images, pdfs, movies etc) with a direct url to the file... Any ideas? Or ...
0
votes
2answers
4k views

How to set global variable in functions.php

I want to be able to echo the URL of the featured image of a post and after looking some on the web I found the following which works fine when I put it in a loop in my front page template. <?php ...
0
votes
3answers
103 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 ...
0
votes
5answers
3k 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 ...
0
votes
3answers
2k views

Have multiple category queries from the URL been fixed yet?

Is it now possible to query multiple categories from the URL? http://www.mywpsite.com/?cat=1+7 ? I think this has worked for tags for some time. If not, is there another way to achieve this?
0
votes
3answers
168 views

How to get url of a post from admin panel

I want to get post url from the back end edit post page, the edit post url is : www.ddd.com/wp-admin/post.php?post=1&action=edit the real post is: www.ddd.com/wp/?p=1 since the user can edit ...
0
votes
2answers
1k views

mod-rewrite exception? keep #hash in matching urls?

Hey guys, My WordPress permalink structure is set to `/%postname%/. When I create a page with a name "FAQs" the permalink generated is "mydomain.com/faqs". When I link to this page in my code ...
0
votes
2answers
1k views

how to grab first link in post… and of course call it

I have been trying to get the answer to this for ages now and wondered if anyone here could help. I would like to 'grab' the first link in a post and attach it to a button/image. I have tried the ...
0
votes
3answers
38 views

Changed Wordress Address URL Accidently

Accidently, I have changed my wordpress address url from my dashboard. Now I am not able to sign in to get it changed. This is where I have installed wordpress - http://www.abc.com/folder, but ...
0
votes
2answers
908 views

How to redirect visitor to a custom URL using PHP code in functions.php

The users have to be redirected to a custom URL which I already know (its part of the programming logic). I just need to know which WP function to use/ what php code to use to redirect the user to the ...
0
votes
2answers
161 views

WP Nav menu append to url

Using wp_nav_menu() , how can I append a value at end of each URL? For example, I have the following url: http://www.example.com/ but I have to append a language parameter at the end, so the url ...
0
votes
1answer
253 views

Why is WordPress saving full-urls to the database?

Every time im about to put my local project into staging/production environment im beeing hardly reminded that WordPress saves all the urls as absolute.So i need to rewrite all the urls with a ...
0
votes
1answer
168 views

How to properly print a 404 error without redirecton? (i.e. keeping the current URL)

There are some pages on my BuddyPress install that I would like to hide by printing a 404 error. With the help of the following question: Redirect Restricted Page to 404 I came up with this code: ...
0
votes
3answers
294 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, ...
0
votes
1answer
225 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
2answers
2k views

Using a portfolio_category slug in wordpress URL

I won't lie - I don't know php but I enjoy digging around trying to find ways to customize themes so that they behave how I want them to. Any help would be very much appreciated. What I am trying to ...
0
votes
1answer
2k views

hide wp-content from urls

Here is what I am thinking of trying to hide wp-content from the urls of files included in page source. defining the following in wp-settings.php define ...
0
votes
1answer
342 views

Block direct url enter

I want to block / disable direct url entering into address bar. Is it possible in wordpress? Actually I have created custom login, profile and other pages so don't want to allow user to go through ...
0
votes
1answer
104 views

Are href attributes of a elements filtered on output to add the current path?

I have some code that basically looks like this (it's more complicated, but even this example shows what I'm running into): echo '<a href="#">TEST</a>'; However, what gets sent to the ...
0
votes
2answers
2k views

Get taxonomy slug from url

Sorry I'm new to taxonomies & trying to learn quickly. I've set up sectors and assigned a post to it. If I go to the post, I can see the URL has www.mydomain.com/sectors/auto/ How can I get auto ...
0
votes
1answer
1k views

Moved WP into new folder. How to fix image links in posts?

I moved from Wordpress.com to my own Wordpress.org hosting. I had no problems importing all my posts over, and the images were all linked up fine. Since the import, I decided to move my WP install ...
0
votes
1answer
1k views

urlencoding of the_title() doesn't work?

hey guys, <?php urlencode(the_title()); ?>doesn't take effect. this is my entrie line of code: <li><a href="mailto:?subject=<?php urlencode(the_title()); ...
0
votes
1answer
4k views

Custom page with variables in url. Nice url with add_rewrite_rule

Using WP3.1 I Have a custom page with a WP_Query and the query gets dynamic variables from the url. And i want safe variables and clean urls. Example: ...
0
votes
1answer
174 views

URL renaming issue

I am a non programmer using a wordpress site (riyachting.com) I just discoverd that sending folks to my page with a URL that inlcudes some other stuff in it gets stripped out so only the URL of the ...
0
votes
3answers
2k views

How do I make page URLs look like “www.site.com/page” instead of “www.site.com/blog/page” but have post URLs stay “www.site.com/blog/post”?

I would like to make it so the URLs of my pages (created in the Wordpress dashboard) show up right after the domain name instead of after the blog directory. I have installed Wordpress in a ...
0
votes
1answer
15 views

Site transferred to new server produces 404s

I have transferred my site to a new server. I can login to wp-admin ok and can view the home page but all other pages produce 404s. I have changed the 'Home' and 'Site URL' options in the settings ...
0
votes
1answer
19 views

Add unique id to Preview URL

Is there an easy way to append a unique ID to the preview URL when the preview button is clicked by a user? So this: http://example.com/news/1/title/?preview=true Becomes: ...
0
votes
1answer
37 views

How to call for bloginfo inside function in functions.php?

I am new to WordPress and PHP, so I have this question: I want to add a Link to the "New Post" for a Custom Post Type I implemented. But it will only let me put static links, connected to my ...
0
votes
1answer
57 views

How to redirect homepage to actual URL?

I have a stupid problem. In the custom header template I include on all pages are some images. When I set the links to the images as images/image.png it works on the homepage but not on other pages. ...
0
votes
1answer
34 views

How can I make my blog urls have words of the title in them?

I just started a new blog and all the urls look like this: sitename.com/?p=1 But how do people make the url have the title of the blog Thanks!
0
votes
1answer
49 views

Suddenly new posts have the default permalink instead of the post name

One of my clients' sites has suddenly and for no apparent reason decided to disregard the custom permalink structure when you add a new post. The permalink structure is set to /%postname%/ So ...
0
votes
2answers
32 views

Moving a WordPress site - Installation issue

I have moved Wordpress sites before and have occasionally encountered issues but always been able to resolve them. I have tried to do this several times with this site but I am still having the same ...
0
votes
1answer
47 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
92 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
2answers
49 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 ...
0
votes
1answer
54 views

Organizing the Navigation Menu

I have a problem with menu organization. I have a Pages with url "pressroom" and have a Category with the same name. I want to make it a one menu item. Pressroom (sitename.com/pressroom/) page 1 ...
0
votes
2answers
74 views

Is Wordpress API visible from PHP file called in htaccess

I'm trying to add some rewriterules in the .htaccess file to deal with hotlinked images - specifically I want to add the URL from the post where the image appeared to the header location information ...
0
votes
2answers
931 views

Add menu and submenu in admin with a URL instead of slug?

I use this function and hook: function mysite_admin_menu() { add_menu_page( 'Categories', 'Catégories', 'administrator', 'categories', 'a_function' ); add_submenu_page( 'categories', 'Manage', ...
0
votes
1answer
61 views

How to show the homepage on a different url, like site.com/blog instead of site.com?

I have Wordpress installed in my root directory, so if you go to site.com you see the list of recent posts. What I want to do is to have the homepage show a static page instead showing recent news ...
0
votes
1answer
242 views

How can I do a url redirect to include a wordpress username?

I currently have a button like this, that takes a user to their 'mentions' page <a href="http://my.url.org/mentions/<?php global $userdata; get_currentuserinfo(); echo( $userdata->user_login ...
0
votes
2answers
351 views

What can I replace '.get_bloginfo('url').' with to return the current URL rather than the home address?

I am using the Any Mobile Theme Switcher plugin to switch between full and mobile themes automatically. The only problem with it is that the 'switch to mobile site' and 'switch to full site' links ...
0
votes
1answer
61 views

Nicer URL for viewing category of posts?

At the moment to view a category of posts I have a url like http://server/category/tag Is there a way in wordpress I can do this as: http://server/tag