Wordpress database page and post problem


There are things I simply dislike about WP. Why would WP create a single page for each image you upload to the media library, by default? These pages are called 'attachment pages' and mean that each single image you upload, no matter if used in a post or page or not, will create a page by default that has this image embedded. For the vast majority of users, I dare to say these pages are complete nonsense to have.
So for instance, you create a post with the following URL:
http://your1domain.com/2014/08/my-bestever-post

You are using an image (greatpic.jpg) in the post.
That's the standard path to the image location:
http://your1domain.com/wp-content/uploads/2014/08/greatpic.jpg

But WP will create an additional page (the so called 'attachment page') for this image, like this:
http://your1domain.com/2014/08/my-bestever-post/greatpic/ (the post name, with an added trailing slash followed by the name of the picture without .jpg, or click 'View' next to each image inside the media library to see these pages)

Now, I understand that (at least as of WP 3.9) you can select where the embedded image links to (image itself, any link, image attachment page, or none).
Also, I understand that you can suppress the crawling and indexing of these unwanted pages (via some code or plugins), but my point is: Why the heck does WP need to create those pages in the first place, i.e. why not simply have an image library without this 'attachment' practice?
They say that some photographers want these attachment pages...but I'm saying there are better ways to present images than on default pages that are thereby generated for every user, whether or not they want or need them!

Thoughts?

In a database-driven website, those pages don't actually exist unless a browser requests them. They're not taking up space, using resources, or otherwise diminishing the visitor's experience.

They don't exist as static pages. I'm actually not sure why a search engine would crawl links to categories and tags and attachments, but they do. I haven't had enough tea yet but I can track down a more complete technical answer if you like, once I'm more alert.

When you upload an image, you choose what it links to: the image, an attachment page, some custom link, or nothing at all.

If you link to the image, it's not a page, as such. Google shouldn't see it any differently than if it indexed the folder full of images (which it can, and will, unless you take steps to prevent it, which I don't.)
If you link offsite, for instance, to give photo credits, that's just another link.
Google can't invent pages for data-driven websites. It simply follows any links which do exist, dynamically creating the page on the fly (which is the whole point of database-driven websites: one or toe templates, filled in with oodles of data, to create potentially thousands of unique pages using minimal resources, both for coding and browsing.)
Don't create those links when you add an image to a post, and Google won't have a link to follow.

Your posts and pages aren't real pages, either, so you're right in comparing the attachment pages to them.
Your WordPress site has zero pages in the manner you think of website pages. None.
It has templates, which are populated with data from the database.
Until a browser *requests that URL* the page does not exist. It cannot, it's just a template, entirely devoid of data.
It is a glass, without a drink, because the drinks are still in the fridge. Until you put something IN the glass, it is not a DRINK. In fact, what's in the fridge isn't a drink either, unless you drink out of the carton, in which case, shame on you
The reason WordPress does this, to answer one of your original questions, is because it was, first, long ago, only a blog tool, not a website tool. There are still some of those artifacts hanging on.
And, in fact, the opposite of your perspective is also completely valid: why would WordPress default to just shoving your image into the browser, without including your header, navigation menus, footer, sidebars, etc.? Why do you want to actively strip away your website any time someone views one of the images you use?
Useful to you, perhaps, but to many folks, exactly the OPPOSITE of desired behavior.

Another note on database drive pages being indexed. Here's why *it's not possible* unless there is a link, and actual URL.
The data is stored in your database. Google does not have access to your database. No, it doesn't. It has access to your website, which has permission to access the database.
On its own, Google can't see your database. Can't. Not possible, unless someone has broken something.
Let's pretend for a moment that it COULD see your database.
WordPress has a search tool, right? So do lots of sites.
Image Google indexing *every possible set of search results* from a complex database like Zappo's. Millions, perhaps billions, of pages. Google would have to dedicate an entire wing in their mansion to indexing Zappos. And another for Amazon. And another for every large database drive site.

Google can't see into your database. It can only follow links.



Wordpress link it with jetpack subscription

Wordpress link it with jetpack subscription
I have popup plugin i want to link it with jetpack subscription .
i googled but cant find solution help me to do this.

Directly on Jetpack.me it talks about a shortcode for the subscription form. No Googling needed - go straight to the source.

<Rant>
I don't care how new you are to WP, but if you're too lazy to look on the site I gave you already, I'm certainly not going to do the work for you, especially since I don't use Jetpack on any site.

One key skill every WP user needs is the ability to find their own solutions. Sure, we all get stuck sometimes and asking in a group like this can get you pointed in the right direction, or provide a solution.

But if someone points you to a solution you need to go out there and read up on it yourself. It's how we all get better at what we do.

Many of us get paid for our WP work. You're getting good free advice here. Don't expect someone to hold your hand. You have to put forth some effort too.
</rant>

Wordpress dashboard is not loading?

Wordpress dashboard is not loading?

The usual advice is to deactivate all plugins and revert to the default theme. If your problem then disappears you can put things back one-by-one until you find the culprit.

You can still deactivate plugins by accessing the site via FTP. Create a dir and drag your plugins into it. If you can access your dashboard then, you know that one of the plugins was the problem. Drag one at a time back into the plugins folder and see if you can still access your dashboard.

Remove from wp-content. I'm told WP is bright enough to cope with that. Never tried it myself.

Just a small addition. I'd put the plugins back in reverse date order of installation/activation.

If there are no new plugins, it could be that a recent update made an old one interfere with something. You'll get that once in a while with outdated plugins.

Which is the best forum plugin ? bbPress or Simple-Press ?

Which is the best forum plugin bbPress or Simple-Press

Which is the best forum plugin ? 
bbPress or Simple-Press ?
  • The one that suits the best to your needs/ requirements.
    "The best" doesn't need to be the same for various persons.
    BTW, more people are telling good things on bbPress which doesn't have to mean that it's better then SimplePress or any other Forum plugin.
  • Another one to check out: https://muut.com
  • Without knowing what features and functions you need, it's impossible to say which is "best" for you. And it's easy enough for you to read the feature set of each and decide.

Wordpress user role editor?


I want to create a user role that lets them edit and publish, but not change the title or slug on a specific custom post type. The title and permalink on that custom post type will be created for them and absolutely have to stay the same. Ideas?
If the codex mentions the slug on the roles and capacities page, I'm not seeing it. The only thing I can think of is to somehow remove access to the title and permalink in the edit posts part of that specific custom post type - haven't gone that route yet.
- Some sort of function, where if a certain type of user role, then css display: hide the slug so they can't even see it, so they can't edit it.
- In poking around in the css and googling, I did eventually find this codex reference on removing meta boxes, so now I know what the parts are named. If I can remove the permalink edit parts and the title from the admin view, it seems logical that I should be able to replace the title with plain text w/o an editable form field. http://codex.wordpress.org/Function.../remove_meta_box

Should I upgrade WordPress 4.0 Benny?


"WordPress 4.0 Benny" released. Is this final and stable version? Should I upgrade to this?
News: http://codex.wordpress.org/Version_4.0

Yes. I notice that upgrade is offered in the Dashboard. Remember to back up first - site and database.

I always upgrade on a test site and make sure there's no big issues before going to a live site to update. Might even wait for 4.0.1

and I have to say I applaud Karl's defensive approach, which I try to adhere to myself with varying success, I have to say that I''ve never yet had an issue with an upgrade.



Remove the header image on twenty thirteen theme

Remove the header image on twenty thirteen theme


I have the twenty thirteen theme, and i would like to remove the header image the menu the search button and the title (both from desktop and mobile version) i just want the theme to be "empty/clean". Could anyone help me with that?

Hide sidebar and header and set empty menu as ur primary menu

Some editing to the header.php and maybe functions file and you'll get what you want.


You can delete code from header.php one by one